{"action":"opened","issue":{"url":"https://api.github.com/repos/portertech/kitchen-docker/issues/124","labels_url":"https://api.github.com/repos/portertech/kitchen-docker/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/portertech/kitchen-docker/issues/124/comments","events_url":"https://api.github.com/repos/portertech/kitchen-docker/issues/124/events","html_url":"https://github.com/portertech/kitchen-docker/issues/124","id":70543652,"number":124,"title":"volumes don't seem to work the docker way","user":{"login":"danfromtitan","id":12091719,"avatar_url":"https://avatars.githubusercontent.com/u/12091719?v=3","gravatar_id":"","url":"https://api.github.com/users/danfromtitan","html_url":"https://github.com/danfromtitan","followers_url":"https://api.github.com/users/danfromtitan/followers","following_url":"https://api.github.com/users/danfromtitan/following{/other_user}","gists_url":"https://api.github.com/users/danfromtitan/gists{/gist_id}","starred_url":"https://api.github.com/users/danfromtitan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danfromtitan/subscriptions","organizations_url":"https://api.github.com/users/danfromtitan/orgs","repos_url":"https://api.github.com/users/danfromtitan/repos","events_url":"https://api.github.com/users/danfromtitan/events{/privacy}","received_events_url":"https://api.github.com/users/danfromtitan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-23T23:53:12Z","updated_at":"2015-04-23T23:53:12Z","closed_at":null,"body":"Looks like I don't have much luck with making volumes work in kitchen-docker.\r\nAdded a volume and container inspect shows:\r\n\r\n```\r\n    \"Volumes\": {\r\n        \"/var/lib/activemq\": \"/var/lib/docker/vfs/dir/20fb19056....\"\r\n    },\r\n    \"VolumesRW\": {\r\n        \"/var/lib/activemq\": true\r\n```\r\n\r\nI was expecting gem would create a local directory on docker host and attach that to the container, such as in:\r\n\r\n```\r\n    \"Volumes\": {\r\n        \"/var/lib/activemq\": \"/var/lib/activemq\"\r\n```\r\n\r\nI wonder whether u could shed some light on how kitchen-docker gem deals with volumes.\r\n\r\nDriver config below:\r\n\r\nplatforms:\r\n  - name: ubuntu-12.04\r\n    driver_config:\r\n      platform: ubuntu\r\n      require_chef_omnibus: false\r\n      socket: tcp://my.docker.host:443\r\n      image: myorg/activemq:5.11.1\r\n      use_cache: false\r\n      use_sudo: false\r\n      hostname: amq.my.docker.host\r\n      instance_name: amq\r\n      volume: /var/lib/activemq\r\n\r\n"}}