2.33. Docker rm command

发布时间 :2025-10-25 12:31:03 UTC      

Docker 命令大全

docker rm : Delete one or more containers.

2.33.1. Grammar

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

OPTIONS description:

  • -f : Force the deletion of a running container through a SIGKILL signal.

  • -l : Remove the network connection between containers, not the container itself.

  • -v : Delete the volume associated with the container.

2.33.2. Example

Force deletion of container db01 and db02:

docker rm -f db01 db02

Remove the connection of container nginx01 to container db01, connection name db:

docker rm -l db

Delete the container nginx01 and delete the data volume mounted by the container:

docker rm -v nginx01

Delete all containers that have been stopped:

docker rm $(docker ps -a -q)

For more information, see: Docker 清理命令

Docker 命令大全

Principles, Technologies, and Methods of Geographic Information Systems  102

In recent years, Geographic Information Systems (GIS) have undergone rapid development in both theoretical and practical dimensions. GIS has been widely applied for modeling and decision-making support across various fields such as urban management, regional planning, and environmental remediation, establishing geographic information as a vital component of the information era. The introduction of the “Digital Earth” concept has further accelerated the advancement of GIS, which serves as its technical foundation. Concurrently, scholars have been dedicated to theoretical research in areas like spatial cognition, spatial data uncertainty, and the formalization of spatial relationships. This reflects the dual nature of GIS as both an applied technology and an academic discipline, with the two aspects forming a mutually reinforcing cycle of progress.