Difference between revisions of "Docker rm"

From wikieduonline
Jump to navigation Jump to search
Line 18: Line 18:
  
 
  docker rm CONTAINER_NAME -f -v
 
  docker rm CONTAINER_NAME -f -v
 +
 +
[[docker rm -f $(docker ps -aq)]]
  
  

Revision as of 13:17, 17 February 2023

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
docker rm -f $(docker ps -aq)


Related command

See also

Advertising: