Difference between revisions of "Template:Docker volumes TOC"
Jump to navigation
Jump to search
(Created page with "* <code>docker volume create</code> * <code>docker volume rm VOLUME_NAME</code> * <code>docker volume</code>: https://docs.docker.com/engine/reference/commandline/...") |
Tags: Mobile web edit, Mobile edit |
||
Line 1: | Line 1: | ||
− | * <code>[[docker volume create]]</code> | + | * <code>[[docker volume create]] --name VOLUME_NAME</code> |
* <code>[[docker volume rm]] VOLUME_NAME</code> | * <code>[[docker volume rm]] VOLUME_NAME</code> | ||
* <code>[[docker volume]]</code>: https://docs.docker.com/engine/reference/commandline/volume/ | * <code>[[docker volume]]</code>: https://docs.docker.com/engine/reference/commandline/volume/ |
Revision as of 07:08, 4 March 2020
docker volume create --name VOLUME_NAME
docker volume rm VOLUME_NAME
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: