Difference between revisions of "Docker volume inspect"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{ | + | {{lc}}<code>[[docker volume]]</code> inspect MY_VOLUME_NAME |
| − | [[docker volume]] inspect | + | |
| + | 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 == | == Related commands == | ||
* <code>[[docker inspect]]</code> | * <code>[[docker inspect]]</code> | ||
| + | * <code>[[docker volume create]]</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 == | ||
| + | * {{Docker inspect}} | ||
* {{Docker Volumes}} | * {{Docker Volumes}} | ||
[[Category:Docker]] | [[Category:Docker]] | ||
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 inspectdocker volume createdocker volume lsdocker system df -v(Include size of the volume)- mounts
find . -ls | sort -rnk7 | more
See also[edit]
Advertising: