Docker Community Forums

Share and learn in the Docker community.

D4W beta 8 not mount all subfolders


#1

Hi to everyone!

I’ve just installed new d4w beta 8

Expected behavior

Mount folder and all subfolders defined on run command

Actual behavior

I run
docker run -v /c/Users/spaciell:/data alpine ls /data
or
docker run -v c:/Users/spaciell:/data alpine ls /data

only one empty folder is mounted

Information

No error in output or in docker log file.
I’d enabled share C:\ folder with credentials in settings

[Proxy][Info]… proxy >> POST /v1.23/containers/create [rewriteBinds]
[Proxy][Info]… Rewrote mount to /c/Users/spaciell:/data
[Proxy][Info]… proxy >> POST /v1.23/containers/create
[Proxy][Info]… Dial 10.0.75.2:2375
[Proxy][Info]… Dial IP 10.0.75.2:2375
[Proxy][Info]… proxy << POST /v1.23/containers/create
[Proxy][Info]… proxy >> POST /v1.23/containers/ab009f5e7d12ec28bed6b68b3910636ab8067b90fedf4f67b01ad20637936046/attach?stderr=1&stdout=1&stream=1
[Proxy][Info]… Dial 10.0.75.2:2375
[Proxy][Info]… Dial IP 10.0.75.2:2375
[Proxy][Info]… Upgrading to raw stream
[Proxy][Info]… proxy >> POST /v1.23/containers/ab009f5e7d12ec28bed6b68b3910636ab8067b90fedf4f67b01ad20637936046/start [start]

Can someone help me?

Thanks


(Titaye) #2

Hello,

You need to enable your drive in the Shared Drive settings panel in order to see your folders in the container.

Thierry


(Dieter Menne) #3

Updating to the current beta (12) might be useful, But at least for some installations, sharing the drives alone does not help.

See the lengthy thread on

https://forums.docker.com/t/volume-mounts-in-windows-does-not-work?source_topic_id=10142

Mounting manually seems to work, but this is not more than an temporary workaround.