List out 10 Feature of Docker-compose

DevOps

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

docker-compose pull

Performs the docker pull for all the services with respective images mentioned

docker-compose create

Executes the docker create for all the service (create container for all the service)

docker-compose run

Executes the docker create for all the service (run container for all the services)

docker-compose up

It combines build, create, run commands in one shot

docker-compose stop

Stops all the containers of services

docker-compose rm

Removes the stopped containers

docker-compose down

It combines stop and rm, executes for all the service

docker-compose ps

List containers with respect to docker-compose.yaml availability in the directory

docker-compose pull

Pull images of all the services

docker-compose push

Push images of all the services

Note:

  • All docker-compose container or image related commands are context with docker-compose.yaml, without yaml it won’t work