Docker start command

Documentation on Docker start command

Follow @donadoio

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​.

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
root@educative:/# docker stop aasrf12ji340

Back to Docker for ft_server