{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/21712","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/21712/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/21712/comments","events_url":"https://api.github.com/repos/docker/docker/issues/21712/events","html_url":"https://github.com/docker/docker/pull/21712","id":145064501,"number":21712,"title":"Remote API docs give incorrect example for creating a container with volumes.","user":{"login":"yongtang","id":6932348,"avatar_url":"https://avatars.githubusercontent.com/u/6932348?v=3","gravatar_id":"","url":"https://api.github.com/users/yongtang","html_url":"https://github.com/yongtang","followers_url":"https://api.github.com/users/yongtang/followers","following_url":"https://api.github.com/users/yongtang/following{/other_user}","gists_url":"https://api.github.com/users/yongtang/gists{/gist_id}","starred_url":"https://api.github.com/users/yongtang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yongtang/subscriptions","organizations_url":"https://api.github.com/users/yongtang/orgs","repos_url":"https://api.github.com/users/yongtang/repos","events_url":"https://api.github.com/users/yongtang/events{/privacy}","received_events_url":"https://api.github.com/users/yongtang/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/status/3-docs-review","name":"status/3-docs-review","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-01T01:59:51Z","updated_at":"2016-04-02T17:59:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/21712","html_url":"https://github.com/docker/docker/pull/21712","diff_url":"https://github.com/docker/docker/pull/21712.diff","patch_url":"https://github.com/docker/docker/pull/21712.patch"},"body":"This fix tries to address the issue mentioned in Docker Remote API where the examples for creating a container (`POST /containers/create`) with volumes were incorrect. In the previous remote API document, the `Mounts` fields was used for volume creation yet since v1.20 `Volumes` should be used.\r\n\r\nThis fix fixes #21335.\r\n\r\nSigned-off-by: Yong Tang <yong.tang.github@outlook.com>"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/204765898","html_url":"https://github.com/docker/docker/pull/21712#issuecomment-204765898","issue_url":"https://api.github.com/repos/docker/docker/issues/21712","id":204765898,"user":{"login":"johnflavin","id":1417503,"avatar_url":"https://avatars.githubusercontent.com/u/1417503?v=3","gravatar_id":"","url":"https://api.github.com/users/johnflavin","html_url":"https://github.com/johnflavin","followers_url":"https://api.github.com/users/johnflavin/followers","following_url":"https://api.github.com/users/johnflavin/following{/other_user}","gists_url":"https://api.github.com/users/johnflavin/gists{/gist_id}","starred_url":"https://api.github.com/users/johnflavin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnflavin/subscriptions","organizations_url":"https://api.github.com/users/johnflavin/orgs","repos_url":"https://api.github.com/users/johnflavin/repos","events_url":"https://api.github.com/users/johnflavin/events{/privacy}","received_events_url":"https://api.github.com/users/johnflavin/received_events","type":"User","site_admin":false},"created_at":"2016-04-02T17:59:19Z","updated_at":"2016-04-02T17:59:19Z","body":"You've changed the docs for v1.23 and v1.24. While that may be correct, I can’t confirm that. I have verified that the issue I raised in #21335 is present in versions 1.20–1.22, but I haven't checked versions 1.23 or 1.24."}}