docker-archive / toolbox

The Docker Toolbox
https://docker.com/toolbox
3.22k stars 1.23k forks source link

Symlinks on shared volumes not supported docker toolbox #619

Open ghost opened 7 years ago

ghost commented 7 years ago

My host OS is Windows 10 Home. No suppoert Hyper-V. Use Docker Toolbox & Virtualbox. I add folder into the container with -v param and create angular2 development environment. In my Angular2 project npm install run, but don't create symlinks. I can't use Docker for angular2 application and symlinks projects. I would like to know you are working this problem? Can I use Linux development in windows with Docker? The symlink on shared folder must have a lot of nodejs projects. Thany for your feedback. Bumbella

npmerror

lyquocnam commented 7 years ago

the same here !

dzegarra commented 7 years ago

You need to run the Docker quickstart terminal as Administrator to be able of creating symlinks in Windows.

The NTFS partitions support symlinks since Windows 2000 but you need to be Administrator to be able of creating those. Yeah, I know. Seems there's a security problem in allowing any app to create symlinks.

If you already have the docker Virtualbox machine running (the Docker quickstart terminal does this the first time you run it) you will need to stop it and start it again as Administrator. To do that just run:

docker-machine stop

And don't forget to run the Docker quickstart terminal as Administrator.

Tested in Windows 10 v1607