The best way to get around the path change problem with Docker for Windows.
The purpose of
pwdis to detect the equivalent path of the current directory if it were mounted inside a docker container. Since Docker does a path transformation from Windows to Linux, it can often be useful to know this path in advance.
- Docker for Windows: https://docs.docker.com/docker-for-windows/install/
For PowerShell user
PS C:\Users\SamSepiol> curl git.io/make.bat -o setup; .\setupFor cmd.exe user
curl -fsSL https://deno.land/x/install/install.sh | shChocolatey (Windows):
choco install denoScoop (Windows):
scoop install denoFor Python developer
C:\Users\SamSepiol> pip install make.batFor NodeJS developer
C:\Users\SamSepiol> npm install -g make.batFor PHP developer
C:\Users\SamSepiol> npm install -g make.batAs a standard GNU Make simply you
C:\Users\SamSepiol\MrProject> pwd
/host_mnt/c/Users/SamSepiol/MrProject- Docker for Windows: https://docs.docker.com/docker-for-windows/install/
- NodeJS for Windows: https://nodejs.org/en/download/
%USERPROFILE%\AppData\Local\Microsoft\WindowsApps
docker run
-v /var/run/docker.sock:/var/run/docker.sock \
-v /usr/bin/docker:/usr/bin/docker