DEV Community

Discussion on: Install Docker on Windows (WSL) without Docker Desktop

Collapse
 
dirtysoc profile image
Derek

What an excellent write-up. Thank you!

I do have one question though. My understanding of the inner-workings of WSL is still rudimentary. Why do we place the docker socket in the \mnt\wsl folder? What is the significance of \mnt\wsl?

Collapse
 
fonata profile image
Fonata

Hey Derek, I believe the \mnt\wsl location is chosen so multiple Linux installations can share the same docker daemon. If you only run one it doesn't hurt, but you could use Docker's default location, /var/run/docker/containerd/containerd.sock

Collapse
 
bowmanjd profile image
Jonathan Bowman

Exactly!