Highlighting my just-filed feature request for snapd to support my docker container

My Docker container images have been broken for some time due to changes in snapd. I’ve finally found a way of getting the container image to be functional again with a bit of a hack. My bug report below is a feature request to make a more official way of achieving the same goal. My hack is to replace the systemd-detect-virt executable with a small script that returns a hard-coded response indicating the system that snapd is running upon is wsl (a lie). I’d like for there to be a secret code that I can return that snapd will respect to behave in the same way but instead of hijacking the wsl bypass. I’m particularly concerned that the wsl bypass route might disappear in the future as wsl itself gets improved.

3 Likes