docker rm my-container

Meaning: Removes a stopped container. Usage: To delete a container that is not running. Example: docker rm my-container deletes the stopped container named my-container.

-f flag

-f (Force)