Docker - start existing container

6 points
Created by:

In this short article, we would like to show how to start an existing Docker container.

Quick solution:

docker start MY_CONTAINER_NAME

Practical example:

docker start postgress-shop


  • postgress-shop is the name of the container we want to start (the name was set by --name attribute during container creating).

To see all available containers use the following command:

docker container ls -a

Example output:

CONTAINER ID       IMAGE          COMMAND                      CREATED           STATUS            PORTS                         NAMES
dcca9aecbcff       postgres       "docker-entrypoint.s…"       5 hours ago       Up 2 hours>5432/tcp        postgres-shop

Docker - useful wiki posts

Native Advertising
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂