Skip to content
Home » How to remove Docker containers

How to remove Docker containers

You can remove the single or multiple containers at once. To remove the single docker container use the below command.

docker rm container_id

Example:

docker rm 4f662dobe24b

To remove all the container that are that are stopped currently. Use the below prune command.

docker container prune

Also Refer How to remove all stopped containers