Docker compose commands

List containers started by docker-compose

docker-compose ls

Start containers specified in docker-compose.yml located in the current directory

or by specifiying -f if it is a custom .yml file.

docker-compose up

Stop all containers started by docker-compose

(better than docker container stop or rm).

docker-compose down
Previous
Next