How to mount windows folder using docker compile volumes?
I am trying to configure a docker container using docker-compose. My file is docker-compose.ymlas follows:
php-fpm:
build: php-fpm
container_name: php-fpm
volumes:
- ../project:/var/www/dev
When I enter the container as follows:
docker exec -it php-fpm bash
And show the contents with the command ls, the directory is /var/www/devempty. Does enyone know a solution for this?
$ docker -v
Docker version 1.12.0, build 8eab29e
$ docker-compose -v
docker-compose version 1.8.0, build d988a55
I have Windows 10 and docker installed via Docker ToolBox 1.12.0
@edit Installed directory is also empty on Linux
source
share