Command
docker rm
Explanation
Deletes container(s) from the system. Use -f to force remove running containers.
Examples
Remove stopped container
docker rm my_container
Force remove running container
docker rm -f my_container
docker rm
Deletes container(s) from the system. Use -f to force remove running containers.
Remove stopped container
docker rm my_container
Force remove running container
docker rm -f my_container