Docker Community Forums

Share and learn in the Docker community.

Just installed docker desktop for windows , do not see many of the options like shared folder

ok i am able to run a docker image by creating docker file and access it. Issue is how to do i code and share files between linux container and IDE( visual code). I see every one docker desktop ( on google search shared folder shows up in settings page) but mine have general resources command line kubernetes and no shared folder inside of these tabs also.

Some one help if you know why.

Vagrant taking too long to run. Thought i use docker to improve my development speed.

Running linux containers ( tried windows containers also ) …no shared folder tab.

You’re looking at screenshots of old versions.

To mount a folder into a container you use the -v parameter for docker cli or the volumes parameter in a compose file.
Example:

PS> cd C:\Users
PS> docker container run -v "$(pwd):/data" debian ls /data

Mounts the current folder into /data in a Debian container and lists its content.

I see everyone have docker desktop has shared folder.



see the image.
Why i cant see that in my docker desktop?

Ok i found the answer. I doubt many people using docker because there would be many results in google search. i did not find one. I realised a post talking about this in 2019. Then it dawn on me that new version cut off all the features in community edition. i installed 2019 edition …i see all the extra options and shared folder.

I found my answer in this video https://www.youtube.com/watch?v=CsWoMpK3EtE&t=361s
But there is a change need to be done to make it work with windows 10.