Difference between revisions of "Docker rm"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 28: Line 28:
 
* <code>[[docker-compose rm]]</code>
 
* <code>[[docker-compose rm]]</code>
 
* <code>[[docker rmi]]</code>
 
* <code>[[docker rmi]]</code>
 +
* <code>[[docker run]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 21:06, 8 November 2022

docker rm remove one or more containers.


docker rm CONTAINER_NAME https://docs.docker.com/engine/reference/commandline/rm/

-f force
-v Remove the volumes associated with the container
--link , -l		Remove the specified link


docker rm 71ae176b8b82
71ae176b8b82
docker rm CONTAINER_NAME
CONTAINER_NAME

docker rm CONTAINER_NAME -f -v


Related command

See also

Advertising: