From 4bd1540e95619d86594d0c3bb4c637484ca433fc Mon Sep 17 00:00:00 2001 From: zeus Date: Fri, 4 Mar 2022 16:36:40 +0200 Subject: [PATCH] add cloud info --- .../modules/ROOT/pages/admin.adoc | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/CloudComputing_Lab/modules/ROOT/pages/admin.adoc b/CloudComputing_Lab/modules/ROOT/pages/admin.adoc index 5e43baf..464982f 100644 --- a/CloudComputing_Lab/modules/ROOT/pages/admin.adoc +++ b/CloudComputing_Lab/modules/ROOT/pages/admin.adoc @@ -129,6 +129,8 @@ Parameters == Volumes +=== create + Volumes are the preferred mechanism for persisting data generated by and used by Docker containers. [source,sh] @@ -136,6 +138,47 @@ Volumes are the preferred mechanism for persisting data generated by and used by docker run -d --name mycontainer -v /var/www/html:/var/html nginx:latest ---- +=== list + +[source,sh] +---- +docker volume ls +---- + + +== Inspect + +Low-level information on Docker objects + + +=== images + +[source,sh] +---- +docker ps IMAGE ID +---- + +=== container + +[source,sh] +---- +docker ps CONTAINER ID +---- + +=== network + +[source,sh] +---- +docker ps NETWORK ID +---- + +=== volume + +[source,sh] +---- +docker ps VOLUME ID +---- + == repositories