docker rm
Container ManagementRemove one or more containers
Options & Flags
Available options for this command
-fForce remove running container
-vRemove associated volumes
Examples
Common usage examples
Remove a stopped container
docker rm mycontainerForce remove a running container
docker rm -f mycontainerRemove all containers
docker rm $(docker ps -aq)Related Commands
You might also find these useful