Expected behavior
I want to mount a volume like that in a docker-compose.yml:
web:
volumes:
- “www:/var/www/html”
I want to see my files that are in “www” in the container
Actual behavior
When launched, no files are in the container. But, this works:
web:
volumes:
- “.:/var/www/html”
So I can’t mount several volumes.
Information
- the output of:
-
pinata diagnose -u
on OSX -
DockerDebugInfo.ps1
using Powershell on Windows
-
- a reproducible case if this is a bug, Dockerfiles FTW
- page URL if this is a docs issue or the name of a man page
- host distribution and version ( OSX 10.10.x, OSX 10.11.x, Windows, etc )
Steps to reproduce the behavior
- create a docker-compose.yml
- docker-compose.exe up