Created
November 8, 2016 19:02
-
-
Save ajeetraina/7e55ad73bb8340fa15e981a1fdb89c96 to your computer and use it in GitHub Desktop.
Testing Volume Label
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo docker volume inspect virajsingh9sep_volume_with_label | |
[ | |
{ | |
"Name": "virajsingh9sep_volume_with_label", | |
"Driver": "local", | |
"Mountpoint": "/var/lib/docker/volumes/virajsingh9sep_volume_with_label/_data", | |
"Labels": { | |
"alpha": "beta" | |
}, | |
"Scope": "local" | |
} | |
] | |
sudo docker volume ls --filter "label=alpha=beta" | |
Error response from daemon: Invalid filter 'label' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment