Difference between revisions of "Docker system prune --volumes"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{lc}}
 
  [[docker system prune]] --volumes
 
  [[docker system prune]] --volumes
 
  WARNING! This will remove:
 
  WARNING! This will remove:
Line 15: Line 16:
 
  Total reclaimed space: 0B
 
  Total reclaimed space: 0B
  
 +
[[docker system prune]] --volumes
 +
WARNING! This will remove:
 +
  - all stopped containers
 +
  - all networks not used by at least one container
 +
  - all volumes not used by at least one container
 +
  - all dangling images
 +
  - all dangling build cache
 +
 +
Are you sure you want to continue? [y/N] y
 +
Deleted Volumes:
 +
a96e2975cca5cb99a7ed7b442b4de6e69a5bc95959b1cda5338c2f5f0812a601
 +
ba01e897cdca2fcb2a1821141c887340e32bf77f288a8dbb56e93a12fa3010d2
 +
docker_grafana_storage
 +
docker_influxdb_storage
 +
influxdb-volume
 +
influxdb_storage
 +
725257d6a6101ac63387e1a5c2971f50485f5f39790ee5e3fc7bbfcdb5bf67e1
 +
 +
Total reclaimed space: 100.8MB
  
 
+
== Related ==
 +
* [[No space left on device]]
  
 
== See also ==
 
== See also ==

Latest revision as of 08:41, 21 July 2022

docker system prune --volumes
WARNING! This will remove:
  - all stopped containers
  - all networks not used by at least one container
  - all volumes not used by at least one container
  - all dangling images
  - all dangling build cache

Are you sure you want to continue? [y/N]
Deleted Volumes:
vol_name1
vol_name2
vol_name3

Total reclaimed space: 0B
docker system prune --volumes
WARNING! This will remove:
 - all stopped containers
 - all networks not used by at least one container
 - all volumes not used by at least one container
 - all dangling images
 - all dangling build cache

Are you sure you want to continue? [y/N] y
Deleted Volumes:
a96e2975cca5cb99a7ed7b442b4de6e69a5bc95959b1cda5338c2f5f0812a601
ba01e897cdca2fcb2a1821141c887340e32bf77f288a8dbb56e93a12fa3010d2
docker_grafana_storage
docker_influxdb_storage
influxdb-volume
influxdb_storage
725257d6a6101ac63387e1a5c2971f50485f5f39790ee5e3fc7bbfcdb5bf67e1

Total reclaimed space: 100.8MB

Related[edit]

See also[edit]

  • https://docs.docker.com/v17.12/edge/engine/reference/commandline/system_info/
  • https://docs.docker.com/v17.12/edge/engine/reference/commandline/system_events/
  • Advertising: