Re:Docker Desktop no longer free for large companies
by alanwreath on Tuesday August 31, 2021 @12:28PM
(#28370064)
Not a trivial thing to run Docker natively inside of a WSL2 environment - at least my attempts to install straight docker strictly inside Ubuntu running in WSL2 always resulted in Ubuntu’s attempts to reach some .exe with regard to Docker. I did learn some fun facts WRT Linux in WSL2 - it doesn’t have systemd installed by default.
[ Parent
| on HN ]
Re:Docker Desktop no longer free for large companies
by spooneybarger on Tuesday August 31, 2021 @02:43PM
(#28371884)
I've never had a problem with it. I've been using docker engine in WSL2 for a couple years.
I install `docker.io` via apt and its good to go except that package has on some ubuntu versions been missing the /etc/init.d/ startup script.
I build my WSL2 environments via Dockerfile. You can see everything here:
https://github.com/SeanTAllen/wsl-environments/tree/main/ubu...
Using that dockerfile I can then export the file system as a tar (https://wiki.seantallen.com/notes/docker-export-filesystem/) and import into wsl using the wsl import command.
Re:Docker Desktop no longer free for large companies
by naikrovek on Tuesday August 31, 2021 @06:02PM
(#28374223)
well the installation process seems to have changed in the last 2 years. installing `docker.io` is not enough to get docker running in WSL 2 anymore.