{"action":"opened","issue":{"url":"https://api.github.com/repos/bflad/chef-docker/issues/492","labels_url":"https://api.github.com/repos/bflad/chef-docker/issues/492/labels{/name}","comments_url":"https://api.github.com/repos/bflad/chef-docker/issues/492/comments","events_url":"https://api.github.com/repos/bflad/chef-docker/issues/492/events","html_url":"https://github.com/bflad/chef-docker/issues/492","id":110599814,"number":492,"title":"docker_container bind attribute is reversed","user":{"login":"kkeane","id":233146,"avatar_url":"https://avatars.githubusercontent.com/u/233146?v=3","gravatar_id":"","url":"https://api.github.com/users/kkeane","html_url":"https://github.com/kkeane","followers_url":"https://api.github.com/users/kkeane/followers","following_url":"https://api.github.com/users/kkeane/following{/other_user}","gists_url":"https://api.github.com/users/kkeane/gists{/gist_id}","starred_url":"https://api.github.com/users/kkeane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkeane/subscriptions","organizations_url":"https://api.github.com/users/kkeane/orgs","repos_url":"https://api.github.com/users/kkeane/repos","events_url":"https://api.github.com/users/kkeane/events{/privacy}","received_events_url":"https://api.github.com/users/kkeane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-09T07:07:44Z","updated_at":"2015-10-09T07:07:44Z","closed_at":null,"body":"In the 1.0.49 version of the cookbook and docker 1.7.1 (and possibly other versions), the container path and the host path are reversed.\r\n\r\nExample:\r\n\r\ndocker create -v /somehostpath:/tmp myimage\r\n\r\nWill mount the host's /somehostpath into the container's /tmp directory.\r\n\r\nWhen specifying the same string in the bind attribute, the host's /tmp will be mounted into the container's /somehostpath.\r\n"}}