Docker volumes, WSL and Docker for Windows [memo]

Hey.

While I'm on Windows I do use Docker for Windows. It's running on my host machine but I'm running docker commands from WSL (Windows Linux subsystem).

While running it from there the volumes I'm trying to mount into the container won't work.

So the solution is (assume everything you want to mount is on disk C):

The solution has been found here -

=> https://github.com/Microsoft/WSL/issues/1854

<3

Proxy Information
Original URL
gemini://g.codelearn.me/2018-01-25-fix-wsl-docker-volumes.gmi
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
445.464622 milliseconds
Gemini-to-HTML Time
0.291945 milliseconds

This content has been proxied by September (ba2dc).