{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/2949","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/2949/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/2949/comments","events_url":"https://api.github.com/repos/docker/docker/issues/2949/events","html_url":"https://github.com/docker/docker/issues/2949","id":23481897,"number":2949,"title":"Remote API Documentation for  Volumes and Binds is incomplete","user":{"login":"chilicat","id":476789,"avatar_url":"https://avatars.githubusercontent.com/u/476789?v=3","gravatar_id":"","url":"https://api.github.com/users/chilicat","html_url":"https://github.com/chilicat","followers_url":"https://api.github.com/users/chilicat/followers","following_url":"https://api.github.com/users/chilicat/following{/other_user}","gists_url":"https://api.github.com/users/chilicat/gists{/gist_id}","starred_url":"https://api.github.com/users/chilicat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chilicat/subscriptions","organizations_url":"https://api.github.com/users/chilicat/orgs","repos_url":"https://api.github.com/users/chilicat/repos","events_url":"https://api.github.com/users/chilicat/events{/privacy}","received_events_url":"https://api.github.com/users/chilicat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2013-11-29T09:22:27Z","updated_at":"2016-07-06T19:37:58Z","closed_at":"2015-02-20T19:36:41Z","body":"The Remote AI Documentation shows no example of how the volume should be configured.\r\n\r\nCreate Container \r\n\r\n    \"Volumes\": {\r\n           \"path/in/container?\": {\r\n                   ????\r\n            },\r\n            ....\r\n    }\r\n\r\n\r\nStart Container\r\n\r\n    \"Binds\":  [ \"/path/on/host:/path/in/container\", ... ]\r\n\r\n\r\nFor me is unclear if I have to configure the \"Volume\" in the create container call and \"Binds\"  in the start container call. Or is it enough to just configure a volume in start container..\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/230883109","html_url":"https://github.com/docker/docker/issues/2949#issuecomment-230883109","issue_url":"https://api.github.com/repos/docker/docker/issues/2949","id":230883109,"user":{"login":"ekkis","id":274980,"avatar_url":"https://avatars.githubusercontent.com/u/274980?v=3","gravatar_id":"","url":"https://api.github.com/users/ekkis","html_url":"https://github.com/ekkis","followers_url":"https://api.github.com/users/ekkis/followers","following_url":"https://api.github.com/users/ekkis/following{/other_user}","gists_url":"https://api.github.com/users/ekkis/gists{/gist_id}","starred_url":"https://api.github.com/users/ekkis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekkis/subscriptions","organizations_url":"https://api.github.com/users/ekkis/orgs","repos_url":"https://api.github.com/users/ekkis/repos","events_url":"https://api.github.com/users/ekkis/events{/privacy}","received_events_url":"https://api.github.com/users/ekkis/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T19:37:58Z","updated_at":"2016-07-06T19:37:58Z","body":"in ghosts post (Sep 30, 2015) he indicates `\"Volumes\": { \"/var/run/docker.sock\" : {} }` - but does that make any sense? and if I can express `Binds` in colon notation, can I do it with `Volumes`?  I guess what I'm asking is: how do I express the CLI parameter `-v /my/local/dir:/container/dir` using the API?"}}
{"actor":{"display_login":"ekkis"}}