Difference between revisions of "Template:Docker volumes"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
* <code>[[docker volume]]</code>: https://docs.docker.com/engine/reference/commandline/volume/ | * <code>[[docker volume]]</code>: https://docs.docker.com/engine/reference/commandline/volume/ | ||
* <code>[[docker volume ls]]</code>: https://docs.docker.com/engine/reference/commandline/volume_ls/ | * <code>[[docker volume ls]]</code>: https://docs.docker.com/engine/reference/commandline/volume_ls/ | ||
− | * <code>[[docker volume inspect]]</code>: https://docs.docker.com/engine/reference/commandline/volume_inspect/ | + | * <code>[[docker volume inspect]] VOLUME</code>: https://docs.docker.com/engine/reference/commandline/volume_inspect/ |
* <pre>docker inspect -f '{{ .Mounts }}' CONTAINER_NAME</pre> | * <pre>docker inspect -f '{{ .Mounts }}' CONTAINER_NAME</pre> | ||
* <code>[[docker volumes prune]]</code> | * <code>[[docker volumes prune]]</code> | ||
* <code>[[docker system prune]] --volumes</code> | * <code>[[docker system prune]] --volumes</code> |
Revision as of 13:25, 18 January 2020
docker volume
: https://docs.docker.com/engine/reference/commandline/volume/docker volume ls
: https://docs.docker.com/engine/reference/commandline/volume_ls/docker volume inspect VOLUME
: https://docs.docker.com/engine/reference/commandline/volume_inspect/docker inspect -f '{{ .Mounts }}' CONTAINER_NAME
docker volumes prune
docker system prune --volumes
Advertising: