{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/docker/issues/21243","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/21243/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/21243/comments","events_url":"https://api.github.com/repos/docker/docker/issues/21243/events","html_url":"https://github.com/docker/docker/issues/21243","id":141208310,"number":21243,"title":"Proposal - Add filters for volume command about name and driver","user":{"login":"HackToday","id":10363809,"avatar_url":"https://avatars.githubusercontent.com/u/10363809?v=3","gravatar_id":"","url":"https://api.github.com/users/HackToday","html_url":"https://github.com/HackToday","followers_url":"https://api.github.com/users/HackToday/followers","following_url":"https://api.github.com/users/HackToday/following{/other_user}","gists_url":"https://api.github.com/users/HackToday/gists{/gist_id}","starred_url":"https://api.github.com/users/HackToday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HackToday/subscriptions","organizations_url":"https://api.github.com/users/HackToday/orgs","repos_url":"https://api.github.com/users/HackToday/repos","events_url":"https://api.github.com/users/HackToday/events{/privacy}","received_events_url":"https://api.github.com/users/HackToday/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/area/cli","name":"area/cli","color":"e11d21"},{"url":"https://api.github.com/repos/docker/docker/labels/kind/feature","name":"kind/feature","color":"AAB3AB"},{"url":"https://api.github.com/repos/docker/docker/labels/status/claimed","name":"status/claimed","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-16T08:44:30Z","updated_at":"2016-03-25T07:07:38Z","closed_at":"2016-03-25T07:07:38Z","body":"<!--\r\nIf you are reporting a new issue, make sure that we do not have any duplicates\r\nalready open. You can ensure this by searching the issue list for this\r\nrepository. If there is a duplicate, please close your issue and add a comment\r\nto the existing issue instead.\r\n\r\nIf you suspect your issue is a bug, please edit your issue description to\r\ninclude the BUG REPORT INFORMATION shown below. If you fail to provide this\r\ninformation within 7 days, we cannot debug your issue and will close it. We\r\nwill, however, reopen it if you later provide the information.\r\n\r\nFor more information about reporting issues, see\r\nhttps://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues\r\n\r\n---------------------------------------------------\r\nBUG REPORT INFORMATION\r\n---------------------------------------------------\r\nUse the commands below to provide key information from your environment:\r\nYou do NOT have to include this information if this is a FEATURE REQUEST\r\n-->\r\n\r\n\r\nRight now, docker volume only support dangling filter, it would be good to support name and driver filter (network has kinds of support, like name and id etc)\r\n\r\nWhat will do like below:\r\n\r\n```\r\nroot@bf86488287ac:/go/src/github.com/docker/docker# docker volume ls -f driver=local\r\nDRIVER              VOLUME NAME\r\nlocal               testd\r\nlocal               wokrd\r\nroot@bf86488287ac:/go/src/github.com/docker/docker# \r\nroot@bf86488287ac:/go/src/github.com/docker/docker# docker volume ls -f name=testd\r\nDRIVER              VOLUME NAME\r\nlocal               testd\r\n\r\n```"}}