Low Orbit Flux Logo 2 F

Docker How To Stop A Container

Stopping a Docker container is really easy.

This command will stop a docker container named ‘smelly-hippo’:


docker stop smelly-hippo

You can verify that it is down using the docker ps command to show all containers:


docker ps -a

You can start it back up like this:


docker start smelly-hippo

If you want to remove a container after stopping it, you can use the rm command:


docker rm smelly-hippo

You can force remove like this:


docker rm -f smelly-hippo