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