Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installed docker for desktop . i cant find shared folder options in settings

I installed docker for desktop windows. Created docker file and ran simple nodejs call. it works. Issue now is shared folder. There is no option in settings. Actually i dont see most options people see in them. Without shared folder its not easy to develpp apps. I use visual code. So i need a shared folder that can be used between linux docker container and windows 10 file directory. Any one help?

I google searched i cant find it anywhere. it seems like every one use docker in perfect condition?

like image 961
alex K Avatar asked Dec 10 '22 00:12

alex K


1 Answers

Please see https://docs.docker.com/docker-for-windows/

It states:

The File sharing tab is only available in Hyper-V mode, because in WSL 2 mode and Windows container mode all files are automatically shared by Windows.

I think this is what you are looking for. I also wasted too much time looking for this explanation.

like image 72
Frank Monroe Avatar answered Dec 12 '22 14:12

Frank Monroe