Browse Source

add cloud info

master
zeus 3 years ago
parent
commit
4bd1540e95
  1. 43
      CloudComputing_Lab/modules/ROOT/pages/admin.adoc

43
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

Loading…
Cancel
Save