Difference between revisions of "Docker volume ls"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
  
 
== Examples ==
 
== Examples ==
 +
 +
[[docker volume]] ls
 +
DRIVER              VOLUME NAME
 +
local              0a92e3e2af047db06a590cf0d3164f4a6e039158abab8d4d8e4f0b84e7add2cb
 +
local              1e7c62f7b303215a8e12be9ce49ff9a3ea866d44ecfbe8030e6064eb39378d43
 +
local              1e9458c18988bf76a6b5186a86a1f9d0b18b0c0a9dccaa913f5bee213fcb8bc4
 +
local              your_named_volume_1
 +
local              your_named_volume_2
  
 
  docker volume ls
 
  docker volume ls

Revision as of 05:56, 16 February 2023

docker volume ls List all the volumes known to Docker

Examples

docker volume ls
DRIVER              VOLUME NAME
local               0a92e3e2af047db06a590cf0d3164f4a6e039158abab8d4d8e4f0b84e7add2cb
local               1e7c62f7b303215a8e12be9ce49ff9a3ea866d44ecfbe8030e6064eb39378d43
local               1e9458c18988bf76a6b5186a86a1f9d0b18b0c0a9dccaa913f5bee213fcb8bc4
local               your_named_volume_1
local               your_named_volume_2
docker volume ls
DRIVER    VOLUME NAME
docker volume ls -f dangling=true
docker volume ls -f dangling=false
docker volume ls -f driver=local


Including Mountpoint

docker volume ls --format "{{.Driver}}   {{.Name}}   {{.Mountpoint}}"


docker volume ls or docker volume list
DRIVER              VOLUME NAME
local               elk_data01
local               elk_data02
local               elk_data03
docker volume ls
DRIVER              VOLUME NAME
local               0a92e3e2af047db06a590cf0d3164f4a6e039158abab8d4d8e4f0b84e7add2cb
local               1e7c62f7b303215a8e12be9ce49ff9a3ea866d44ecfbe8030e6064eb39378d43
local               1e9458c18988bf76a6b5186a86a1f9d0b18b0c0a9dccaa913f5bee213fcb8bc4


docker volume ls --filter label=YOUR_LABEL

Related commands

See also

Advertising: