{"action":"created","issue":{"url":"https://api.github.com/repos/docker/fig/issues/858","labels_url":"https://api.github.com/repos/docker/fig/issues/858/labels{/name}","comments_url":"https://api.github.com/repos/docker/fig/issues/858/comments","events_url":"https://api.github.com/repos/docker/fig/issues/858/events","html_url":"https://github.com/docker/fig/pull/858","id":54845517,"number":858,"title":"Handle recreate volumes properly for docker 1.4.1","user":{"login":"dnephin","id":442180,"avatar_url":"https://avatars.githubusercontent.com/u/442180?v=3","gravatar_id":"","url":"https://api.github.com/users/dnephin","html_url":"https://github.com/dnephin","followers_url":"https://api.github.com/users/dnephin/followers","following_url":"https://api.github.com/users/dnephin/following{/other_user}","gists_url":"https://api.github.com/users/dnephin/gists{/gist_id}","starred_url":"https://api.github.com/users/dnephin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnephin/subscriptions","organizations_url":"https://api.github.com/users/dnephin/orgs","repos_url":"https://api.github.com/users/dnephin/repos","events_url":"https://api.github.com/users/dnephin/events{/privacy}","received_events_url":"https://api.github.com/users/dnephin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-01-20T05:31:34Z","updated_at":"2015-01-27T01:31:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/fig/pulls/858","html_url":"https://github.com/docker/fig/pull/858","diff_url":"https://github.com/docker/fig/pull/858.diff","patch_url":"https://github.com/docker/fig/pull/858.patch"},"body":"#711 didn't do the right thing with docker 1.4.1\r\n\r\nThis PR removes volumes from options that need to be passed as binds (so the data volume is preserved)."},"comment":{"url":"https://api.github.com/repos/docker/fig/issues/comments/71574575","html_url":"https://github.com/docker/fig/pull/858#issuecomment-71574575","issue_url":"https://api.github.com/repos/docker/fig/issues/858","id":71574575,"user":{"login":"cpuguy83","id":799078,"avatar_url":"https://avatars.githubusercontent.com/u/799078?v=3","gravatar_id":"","url":"https://api.github.com/users/cpuguy83","html_url":"https://github.com/cpuguy83","followers_url":"https://api.github.com/users/cpuguy83/followers","following_url":"https://api.github.com/users/cpuguy83/following{/other_user}","gists_url":"https://api.github.com/users/cpuguy83/gists{/gist_id}","starred_url":"https://api.github.com/users/cpuguy83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpuguy83/subscriptions","organizations_url":"https://api.github.com/users/cpuguy83/orgs","repos_url":"https://api.github.com/users/cpuguy83/repos","events_url":"https://api.github.com/users/cpuguy83/events{/privacy}","received_events_url":"https://api.github.com/users/cpuguy83/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T01:31:33Z","updated_at":"2015-01-27T01:31:33Z","body":"And that one may be different actually.\r\nTesting fig against master seems to be OK.\r\n\r\n```yaml\r\n# fig.yml\r\nweb:\r\n  build: .\r\n  volumes:\r\n    - \"/foo\"\r\n    - \"/bar\"\r\n```\r\n\r\n```Dockerfile\r\n# Dockerfile\r\nFROM busybox\r\nADD . /foo\r\nVOLUME /foo\r\nVOLUME /bar\r\nCMD exec top\r\n```\r\n\r\nDoes this look right?"}}