Difference between revisions of "Docker volume inspect"
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: | ||
− | + | {{lc}}<code>[[docker volume]]</code> inspect MY_VOLUME_NAME | |
− | + | docker volume inspect MY_VOLUME_NAME | |
− | + | [ | |
− | 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" | ||
} | } | ||
− | ] | + | ] |
− | |||
== 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]
docker inspect
docker volume create
docker volume ls
docker system df -v
(Include size of the volume)- mounts
find . -ls | sort -rnk7 | more
See also[edit]
Advertising: