Browse Source

add cloud info

master
zeus 3 years ago
parent
commit
a9259664de
  1. 38
      CloudComputing_Lab/modules/ROOT/pages/admin.adoc

38
CloudComputing_Lab/modules/ROOT/pages/admin.adoc

@ -216,6 +216,44 @@ docker ps NETWORK ID
docker ps VOLUME ID docker ps VOLUME ID
---- ----
== prune - remove obj
Remove all unused objects.
*prune* will delete ALL dangling data i.e. containers stopped, volumes without containers and images with no containers
=== images
[source,sh]
----
docker image prune
----
TIP: docker rmi $(docker images --filter "dangling=true" -q --no-trunc)
=== container
[source,sh]
----
docker container prune
----
=== network
[source,sh]
----
docker network prune
----
=== volume
[source,sh]
----
docker volume prune
----
== repositories == repositories

Loading…
Cancel
Save