After I specify the volume option in docker-compose.yml, it creates folders in the container, but not files. No matter how he tried - all for nothing (changed the path, opened access).

enter image description here enter image description here

Windows 10 1607 Volume is also not created.

Client: Version: 1.12.0 API version: 1.24 Go version: go1.6.3 Git commit: 8eab29e Built: Thu Jul 28 21:15:28 2016 OS / Arch: windows / amd64

Server: Version: 1.12.0 API version: 1.24 Go version: go1.6.3 Git commit: 8eab29e Built: Thu Jul 28 21:15:28 2016 OS / Arch: linux / amd64

  • If you are using a Docker Machine on Mac or Windows, your Docker daemon has only limited access to your OS X or Windows filesystem. Docker Machine tries to auto-share your / Users (OS X) or C: \ Users (Windows) directory. - it seems to work only when the volume is physically located inside the home directory. - etki

1 answer 1

In order for docker to be able to connect data volumes from arbitrary folders in Windows, there must be a password.