{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/docker-plugin/issues/183","labels_url":"https://api.github.com/repos/jenkinsci/docker-plugin/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/docker-plugin/issues/183/comments","events_url":"https://api.github.com/repos/jenkinsci/docker-plugin/issues/183/events","html_url":"https://github.com/jenkinsci/docker-plugin/pull/183","id":63574952,"number":183,"title":"fix volume support","user":{"login":"tjamet","id":6061440,"avatar_url":"https://avatars.githubusercontent.com/u/6061440?v=3","gravatar_id":"","url":"https://api.github.com/users/tjamet","html_url":"https://github.com/tjamet","followers_url":"https://api.github.com/users/tjamet/followers","following_url":"https://api.github.com/users/tjamet/following{/other_user}","gists_url":"https://api.github.com/users/tjamet/gists{/gist_id}","starred_url":"https://api.github.com/users/tjamet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjamet/subscriptions","organizations_url":"https://api.github.com/users/tjamet/orgs","repos_url":"https://api.github.com/users/tjamet/repos","events_url":"https://api.github.com/users/tjamet/events{/privacy}","received_events_url":"https://api.github.com/users/tjamet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"KostyaSha","id":231611,"avatar_url":"https://avatars.githubusercontent.com/u/231611?v=3","gravatar_id":"","url":"https://api.github.com/users/KostyaSha","html_url":"https://github.com/KostyaSha","followers_url":"https://api.github.com/users/KostyaSha/followers","following_url":"https://api.github.com/users/KostyaSha/following{/other_user}","gists_url":"https://api.github.com/users/KostyaSha/gists{/gist_id}","starred_url":"https://api.github.com/users/KostyaSha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostyaSha/subscriptions","organizations_url":"https://api.github.com/users/KostyaSha/orgs","repos_url":"https://api.github.com/users/KostyaSha/repos","events_url":"https://api.github.com/users/KostyaSha/events{/privacy}","received_events_url":"https://api.github.com/users/KostyaSha/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-03-22T20:48:22Z","updated_at":"2015-04-01T20:57:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/docker-plugin/pulls/183","html_url":"https://github.com/jenkinsci/docker-plugin/pull/183","diff_url":"https://github.com/jenkinsci/docker-plugin/pull/183.diff","patch_url":"https://github.com/jenkinsci/docker-plugin/pull/183.patch"},"body":"Setting the 'Volumes' advanced option inside a cloud with a value of \"/tmp/docker-jenkins:/tmp/docker-test-volume\" does not bind container /tmp/docker-test-volume to host /tmp/docker-jenkins any longer.\r\n\r\nIt can be reproduced cloning \"https://github.com/tjamet/jenkins-docker-master.git\" branch \" test/docker-volume\" and launching a build on docker-volume after having updating the docker plugin\r\n"},"comment":{"url":"https://api.github.com/repos/jenkinsci/docker-plugin/issues/comments/88629594","html_url":"https://github.com/jenkinsci/docker-plugin/pull/183#issuecomment-88629594","issue_url":"https://api.github.com/repos/jenkinsci/docker-plugin/issues/183","id":88629594,"user":{"login":"tjamet","id":6061440,"avatar_url":"https://avatars.githubusercontent.com/u/6061440?v=3","gravatar_id":"","url":"https://api.github.com/users/tjamet","html_url":"https://github.com/tjamet","followers_url":"https://api.github.com/users/tjamet/followers","following_url":"https://api.github.com/users/tjamet/following{/other_user}","gists_url":"https://api.github.com/users/tjamet/gists{/gist_id}","starred_url":"https://api.github.com/users/tjamet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjamet/subscriptions","organizations_url":"https://api.github.com/users/tjamet/orgs","repos_url":"https://api.github.com/users/tjamet/repos","events_url":"https://api.github.com/users/tjamet/events{/privacy}","received_events_url":"https://api.github.com/users/tjamet/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T20:57:50Z","updated_at":"2015-04-01T20:57:50Z","body":"according to this documentation https://docs.docker.com/reference/run/#volume-shared-filesystems docker implements volumes the way @maafy6 suggested it.\r\n```\r\n-v=[]: Create a bind mount with: [host-dir]:[container-dir]:[rw|ro].\r\n       If \"container-dir\" is missing, then docker creates a new volume.\r\n```"}}