docker rm Explained

What docker rm does, with an example.

Published November 8, 2026

docker rm removes one or more stopped containers.

Key points

  • Part of the standard Docker CLI used for building, running, and managing containers

Example

docker rm my-container
More General articles