Skip to content

Instantly share code, notes, and snippets.

@ajeetraina
Created November 8, 2016 19:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajeetraina/7e55ad73bb8340fa15e981a1fdb89c96 to your computer and use it in GitHub Desktop.
Save ajeetraina/7e55ad73bb8340fa15e981a1fdb89c96 to your computer and use it in GitHub Desktop.
Testing Volume Label
$ 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