{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/18118","labels_url":"https://api.github.com/repos/docker/docker/issues/18118/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/18118/comments","events_url":"https://api.github.com/repos/docker/docker/issues/18118/events","html_url":"https://github.com/docker/docker/pull/18118","id":118002010,"number":18118,"title":"Add command \"docker volume rename\"  to rename a volume","user":{"login":"haoshuwei","id":12724594,"avatar_url":"https://avatars.githubusercontent.com/u/12724594?v=3","gravatar_id":"","url":"https://api.github.com/users/haoshuwei","html_url":"https://github.com/haoshuwei","followers_url":"https://api.github.com/users/haoshuwei/followers","following_url":"https://api.github.com/users/haoshuwei/following{/other_user}","gists_url":"https://api.github.com/users/haoshuwei/gists{/gist_id}","starred_url":"https://api.github.com/users/haoshuwei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haoshuwei/subscriptions","organizations_url":"https://api.github.com/users/haoshuwei/orgs","repos_url":"https://api.github.com/users/haoshuwei/repos","events_url":"https://api.github.com/users/haoshuwei/events{/privacy}","received_events_url":"https://api.github.com/users/haoshuwei/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/status/1-design-review","name":"status/1-design-review","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-20T09:38:36Z","updated_at":"2015-11-20T15:21:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/18118","html_url":"https://github.com/docker/docker/pull/18118","diff_url":"https://github.com/docker/docker/pull/18118.diff","patch_url":"https://github.com/docker/docker/pull/18118.patch"},"body":"I' working to add a client command which is \"docker volume rename\" to rename a volume.\r\ndetails:\r\n# volume rename\r\n\r\n    Usage: docker volume rename [OPTIONS] OLD_NAME NEW_NAME\r\n\r\n    Rename a volume\r\n      --help=false    Print usage\r\n\r\nThe `docker rename` command allows the container to be renamed to a different name.\r\n\r\n      --help=false    Print usage\r\n\r\nThe `docker volume rename` command allows the volume to be renamed to a different name.\r\n\r\n\r\n\r\nSo far, i have completed dev code part to use this command \"docker volume rename OLD_NAME NEW_NAME\".At later,i will update  test code part."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/158430340","html_url":"https://github.com/docker/docker/pull/18118#issuecomment-158430340","issue_url":"https://api.github.com/repos/docker/docker/issues/18118","id":158430340,"user":{"login":"haoshuwei","id":12724594,"avatar_url":"https://avatars.githubusercontent.com/u/12724594?v=3","gravatar_id":"","url":"https://api.github.com/users/haoshuwei","html_url":"https://github.com/haoshuwei","followers_url":"https://api.github.com/users/haoshuwei/followers","following_url":"https://api.github.com/users/haoshuwei/following{/other_user}","gists_url":"https://api.github.com/users/haoshuwei/gists{/gist_id}","starred_url":"https://api.github.com/users/haoshuwei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haoshuwei/subscriptions","organizations_url":"https://api.github.com/users/haoshuwei/orgs","repos_url":"https://api.github.com/users/haoshuwei/repos","events_url":"https://api.github.com/users/haoshuwei/events{/privacy}","received_events_url":"https://api.github.com/users/haoshuwei/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T15:21:38Z","updated_at":"2015-11-20T15:21:38Z","body":"@duglin  as i know,volumes only have names without IDs,this may be different from container's rename operation."}}