Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Named Volume and Shared Volume (windows) -- permissons & git-bash #43
Comments
|
Thanks @teebu, I've tested it and investigated with Process Monitor how the docker.exe is called.
I recommend to use a real bash in WSL 2 :-) |
|
There is a simple workaround that doesn't require a change of the command.
|
page:
tutorial/using-bind-mounts/Running Docker Desktop 2.3.0.3 on Windows has a security feature that requires folder permissions, otherwise it will throw errors.
Named volume seems you don't need permission (not sure where that file is, somewhere inside some docker VM?)
For shared volume, you need to add path.
Add them in the settings:
When running the commands in git-bash, you have to add //path/ otherwise it will throw errors.
Running in powershell, its fine.