Home>Article>Operation and Maintenance> How to delete a single container volume in docker

How to delete a single container volume in docker

尚
Original
2020-03-17 10:05:44 2488browse

How to delete a single container volume in docker

Delete Docker containers

Delete one or more specified containers

docker ps supports listing all Docker containers (including existing ones) through the -a parameter Stopped containers):

docker ps -a

Delete one or more specified containers:

docker rm CONTAINER_NAME_or_CONTAINER_ID [CONTAINER_NAME_or_CONTAINER_ID]

For more related tutorials, please pay attention to thedocker tutorialcolumn on the PHP Chinese website.

The above is the detailed content of How to delete a single container volume in docker. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn