{"action":"opened","issue":{"url":"https://api.github.com/repos/apocas/dockerode/issues/265","repository_url":"https://api.github.com/repos/apocas/dockerode","labels_url":"https://api.github.com/repos/apocas/dockerode/issues/265/labels{/name}","comments_url":"https://api.github.com/repos/apocas/dockerode/issues/265/comments","events_url":"https://api.github.com/repos/apocas/dockerode/issues/265/events","html_url":"https://github.com/apocas/dockerode/issues/265","id":163984635,"number":265,"title":"how to specify volumes?","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},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-06T02:15:01Z","updated_at":"2016-07-06T02:15:01Z","closed_at":null,"body":"the description for the Volumes key of the options passed to `/containers/create` as documented here: https://docs.docker.com/engine/reference/api/docker_remote_api_v1.24/ indicates it should receive:\r\n\r\n\"An object mapping mount point paths (strings) inside the container to empty objects.\"\r\n\r\nwhat?  empty objects? what does that mean?  I don't see from the source of dockrode how to make the call.  if I currently do this in the CLI: `-v ~/db:/data`, would I:\r\n\r\n`Volumes: {'~/db': '/data'}`\r\n\r\nor...\r\n\r\n`Volumes: {'~/db': { ...what?... }}`\r\n\r\nthere are no examples for guidance.  how do I do this?"}}
{"actor":{"display_login":"ekkis"}}