Difference between revisions of "Docker volume inspect"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[docker volume]] inspect MY_VOLUME_NAME
+
{{lc}}<code>[[docker volume]]</code> inspect MY_VOLUME_NAME
  
 
+
docker volume inspect MY_VOLUME_NAME
<pre>
+
[
docker volume inspect MY_VOLUME_NAME
 
[
 
 
     {
 
     {
 
         "CreatedAt": "2020-04-26T05:52:04Z",
 
         "CreatedAt": "2020-04-26T05:52:04Z",
 
         "Driver": "local",
 
         "Driver": "local",
 
         "Labels": {},
 
         "Labels": {},
         "Mountpoint": "/var/lib/docker/volumes/MY_VOLUME_NAME/_data",
+
         "Mountpoint": "[[/var/lib/docker/]]volumes/MY_VOLUME_NAME/_data",
 
         "Name": "MY_VOLUME_NAME",
 
         "Name": "MY_VOLUME_NAME",
 
         "Options": {},
 
         "Options": {},
 
         "Scope": "local"
 
         "Scope": "local"
 
     }
 
     }
]
+
]
</pre>
 
  
  
 
== Related commands ==
 
== Related commands ==
 
* <code>[[docker inspect]]</code>
 
* <code>[[docker inspect]]</code>
 +
* <code>[[docker volume create]]</code>
 
* <code>[[docker volume ls]]</code>
 
* <code>[[docker volume ls]]</code>
 +
* <code>[[docker system df -v]]</code> (Include size of the volume)
 +
* [[mounts]]
 +
* <code>[[find . -ls]] | sort -rnk7 | more</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 09:21, 7 April 2023

docker volume inspect MY_VOLUME_NAME

docker volume inspect MY_VOLUME_NAME
[
   {
       "CreatedAt": "2020-04-26T05:52:04Z",
       "Driver": "local",
       "Labels": {},
       "Mountpoint": "/var/lib/docker/volumes/MY_VOLUME_NAME/_data",
       "Name": "MY_VOLUME_NAME",
       "Options": {},
       "Scope": "local"
   }
]


Related commands[edit]

See also[edit]

Advertising: