docker rm

Estimated reading time: 1 minute

Description

Remove one or more containers

Usage

docker rm [OPTIONS] CONTAINER [CONTAINER...]

Options

Name, shorthand Default Description
--force, -f false Force the removal of a running container (uses SIGKILL)
--link, -l false Remove the specified link
--volumes, -v false Remove the volumes associated with the container

Parent command

Command Description
docker The base command for the Docker CLI.

Extended description

Alias for docker container rm.

chat icon Feedback? Suggestions? Can't find something in the docs?
Edit this page Request docs changes Get support
Rate this page: