Difference between revisions of "Template:Docker volumes"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
* <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 11:09, 8 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
: https://docs.docker.com/engine/reference/commandline/volume_inspect/docker inspect -f '{{ .Mounts }}' CONTAINER_NAME
docker volumes prune
docker system prune --volumes
Advertising: