Back

Explore Courses Blog Tutorials Interview Questions
0 votes
5 views
in DevOps and Agile by (2.3k points)
edited by

how to start all containers in docker?

1 Answer

0 votes
by (6.9k points)

The question is a little ambiguous:

If you mean to create multiple containers at the same time then you will have to make use of docker-compose.

OR

If you are just looking to start up all the stopped container use this command:

$ sudo docker start $(docker ps -a -q)

This will startup any stopped containers.

Hope this Helps :)


getting stuck working with docker? need supervision while learning about it? try out docker training course.

Browse Categories

...