Comment on Where can I learn Docker fundamentals?
nekusoul@lemmy.nekusoul.de 1 year agoFrom my experience the “default” experience, which is Docker Desktop, is a pain, due to what you described. In particular, Linux containers and Windows file permissions just don’t mix well.
Other than that, there’s three options:
- Docker Desktop, but used from WSL 2. This seems to be the cleanest solution nowadays. Never personally used it though. Officially supported.
- Installing Docker inside WSL 2. Configuring this correctly is a bit of a pain and not really supported AFAIK.
- Installing Docker in a VM, using the integrated Hyper-V functionality for example. The least amount of integration, but most reliable.
ColdCreasent@lemmy.ca 1 year ago
And WSL 2 is the “Linux within windows” if I recall. And your other recommendation is a Linux vm with dockers running inside it? I’ll give that a try if I decide to switch to dockers again instead of just a vm. My original use case was to have a downloader and vpn bundled inside one docker so the rest of the system doesn’t see the vpn connection, but decided to use a vm to accomplish it instead due to “windows+docker” issues.