Docker start/stop/restart Command
docker start :Start one or more containers that have been stopped
docker stop :stop a running container
docker restart :restart a container
Docker start/stop/restart Syntax
docker start [OPTIONS] CONTAINER [CONTAINER...]
docker stop [OPTIONS] CONTAINER [CONTAINER...]
docker restart [OPTIONS] CONTAINER [CONTAINER...]
Docker start/stop/restart Examples
Start the stopped container myapidemos
docker start myapidemos
Stop the running container myapidemos
docker stop myapidemos
Restart the container myapidemos
docker restart myapidemos