Mounting a directory to docker container
问题 I am trying to mount a host directory to my nginx docker container. However, it's not mounting what I would expect. docker-compose.yml: nginx: image: nginx volumes: - ./app:/root/testfolder Here's the contents of the directory in the container: root@846e68e6e8b5:/# ls root/testfolder/ 50x.html index.html And the directories on my host: bash-3.2$ ls app bower.json docker-compose.yml gulpfile.js node_modules package.json bash-3.2$ ls app/ app.js assets bower_components common index.html modules