Difference between revisions of "Docker-volume"
Jump to navigation
Jump to search
(Created page with "``` docker volume create --driver local \ --opt type=btrfs \ --opt device=/dev/sda2 \ foo ```") |
|||
Line 4: | Line 4: | ||
--opt device=/dev/sda2 \ | --opt device=/dev/sda2 \ | ||
foo | foo | ||
+ | ``` | ||
+ | |||
+ | If being used | ||
+ | ``` | ||
+ | docker ps -f "volume=my-volume name" | ||
``` | ``` |
Latest revision as of 15:43, 16 February 2021
docker volume create --driver local \ --opt type=btrfs \ --opt device=/dev/sda2 \ foo
If being used
docker ps -f "volume=my-volume name"