How to run YML compose file?

4 Points
2 Posts

How can I run a YML compose file i.e. .yml file on my computer? I've Docker Desktop for Windows and Docker tools but not able figure out how.

Views: 126
Total Answered: 1
Total Marked As Answer: 1
Posted On: 13-May-2020 04:01

Share:   fb twitter linkedin
154 Points
47 Posts

From your project directory, use following command to run:

docker-compose up

use following command to stop:

docker-compose down

Also, we can use following command when we are executing command from out side of project directory:

docker-compose -f {compose file name} up

docker-compose -f {compose file name} down
Posted On: 15-May-2020 23:49
 Log In to Chat