Difference between revisions of "Docker system prune -a"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
<pre>
 
docker system prune -a
 
WARNING! This will remove:
 
        - all stopped containers
 
        - all networks not used by at least one container
 
        - all images without at least one container associated to them
 
        - all build cache
 
Are you sure you want to continue? [y/N] y
 
  
..../....
+
[[docker system]] prune -a
 
+
WARNING! This will remove:
Total reclaimed space: 301MB
+
        - all stopped containers
</pre>
+
        - all networks not used by at least one container
 +
        - all images without at least one container associated to them
 +
        - all build cache
 +
Are you sure you want to continue? [y/N] y
 +
 +
..../....
 +
 +
Total reclaimed space: 301MB
  
 
== See also ==
 
== See also ==
 
* {{docker system}}
 
* {{docker system}}

Revision as of 14:54, 8 March 2023

docker system prune -a
WARNING! This will remove:
        - all stopped containers
        - all networks not used by at least one container
        - all images without at least one container associated to them
        - all build cache
Are you sure you want to continue? [y/N] y

..../....

Total reclaimed space: 301MB

See also

  • 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: