On 6/7/20 5:22 AM, Iñaki Ucar wrote:
I tried with Fedora rawhide (which already uses SQLite for the rpm
database) and it works fine, but:
- Instead of saving the image, a container must be exported:
Right, you can export a container, or you can save an image and use the
layer tarball inside the resulting tarball. The saved image isn't a
usable tarball itself, but it does contain a usable tarball.
- /etc/resolv.conf must be deleted, so that WSL creates its own one
and there's Internet access.
I didn't need to do that when using the "saved" image, for what that's
worth.
- You may want to delete tsflags=nodocs from /etc/dnf/dnf.conf
Good call.
- I found that [1] does a pretty good job replacing
/usr/bin/systemctl
[1]
https://github.com/gdraheim/docker-systemctl-replacement
I only use WSL for an interactive shell, so I haven't needed to do much
of anything with systemd. Does it not run in WSL, out of curiosity?