I'm using Docker Toolbox to run docker containers on Windows. When I try to perform docker-compose up
Docker cannot find docker-compose.yml
. I must cd
into container's directory or specify the file path using -f argument. How to get the path?
docker info
shows Root Dir as /mtn/sda1/bla/bla
which is virtual path and doesn't exist on my PC.
UPD: solved
You may have simply forgot to save the docker-compose.yml. check this first. Try this solution, it worked for me https://github.com/docker/compose/issues/129
hope you get it sorted
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.