Hacker News new | past | comments | ask | show | jobs | submit login

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.




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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: