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

How to delete a single container volume in docker

Release: 2020-03-17 10:05:44
Original
2596 people have browsed it

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
Copy after login

Delete one or more specified containers:

docker rm CONTAINER_NAME_or_CONTAINER_ID [CONTAINER_NAME_or_CONTAINER_ID]
Copy after login

For more related tutorials, please pay attention to the docker tutorial column 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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template