DEV Community

Discussion on: How to run docker on Windows without Docker Desktop

herbatnik profile image
Marek Kreśnicki

It's easy, by default (at least for me) wsl has mounted all drives in /mnt// for example /mnt/c/ for C: Drive and /mnt/d/ for D: drive
From there you can simply use these paths as youve mentioned

jvmlet profile image
Furer Alexander

yes, you are right... but.
Previously with Docker Desktop we could run docker with -v %cd%/someFolder:/whatever or -v ./someFolder:/whatever, now we have to provide full path , like -v /mnt/c/full/local/path/to/someFolder:/whatever , which is user specific and will not run on team mate's computer... Any thoughts how to overcome this ?