What is the Docker start command?

The docker start command is one of the basic commands that has formed Docker’s foundation. The command is used to start one or more stopped Docker containers​.

svg viewer

The command template to start a container on Docker is:

docker start [options] [container_name/container_id]

Stopping a started container is just as simple with:

docker stop [options] [container_name/container_id]

When a container successfully starts or stops, the container id is displayed in the next line. The example below shows this when we start and stop the container with id aasrf12ji340:

root@educative:/# docker start aasrf12ji340
aasrf12ji340
root@educative:/# docker stop aasrf12ji340
aasrf12ji340

Free Resources

Copyright ©2025 Educative, Inc. All rights reserved