Remove one or more stopped containers.
Section: Containers
Remove a stopped container
bash
bash
docker rm webExplanation
Use `-f` to remove a running container.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Containers