{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/18684","labels_url":"https://api.github.com/repos/docker/docker/issues/18684/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/18684/comments","events_url":"https://api.github.com/repos/docker/docker/issues/18684/events","html_url":"https://github.com/docker/docker/pull/18684","id":122349015,"number":18684,"title":"Add note to volume docs that data is not copied to mounted volumes","user":{"login":"cdauth","id":1801792,"avatar_url":"https://avatars.githubusercontent.com/u/1801792?v=3","gravatar_id":"","url":"https://api.github.com/users/cdauth","html_url":"https://github.com/cdauth","followers_url":"https://api.github.com/users/cdauth/followers","following_url":"https://api.github.com/users/cdauth/following{/other_user}","gists_url":"https://api.github.com/users/cdauth/gists{/gist_id}","starred_url":"https://api.github.com/users/cdauth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdauth/subscriptions","organizations_url":"https://api.github.com/users/cdauth/orgs","repos_url":"https://api.github.com/users/cdauth/repos","events_url":"https://api.github.com/users/cdauth/events{/privacy}","received_events_url":"https://api.github.com/users/cdauth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/dco/no","name":"dco/no","color":"f7c6c7"},{"url":"https://api.github.com/repos/docker/docker/labels/status/3-docs-review","name":"status/3-docs-review","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-15T19:37:08Z","updated_at":"2015-12-15T19:37:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/18684","html_url":"https://github.com/docker/docker/pull/18684","diff_url":"https://github.com/docker/docker/pull/18684.diff","patch_url":"https://github.com/docker/docker/pull/18684.patch"},"body":"In the [volume docs](https://docs.docker.com/engine/userguide/dockervolumes/), it says under /Data volumes/: “If the container’s base image contains data at the specified mount point, that existing data is copied into the new volume upon volume initialization.”\r\n\r\nThis does not apply when host directories are mounted as volumes, as is also explained further down on the page.\r\n\r\nThis patch adds a note about this to the docs to prevent confusion."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/164870589","html_url":"https://github.com/docker/docker/pull/18684#issuecomment-164870589","issue_url":"https://api.github.com/repos/docker/docker/issues/18684","id":164870589,"user":{"login":"GordonTheTurtle","id":10620046,"avatar_url":"https://avatars.githubusercontent.com/u/10620046?v=3","gravatar_id":"","url":"https://api.github.com/users/GordonTheTurtle","html_url":"https://github.com/GordonTheTurtle","followers_url":"https://api.github.com/users/GordonTheTurtle/followers","following_url":"https://api.github.com/users/GordonTheTurtle/following{/other_user}","gists_url":"https://api.github.com/users/GordonTheTurtle/gists{/gist_id}","starred_url":"https://api.github.com/users/GordonTheTurtle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GordonTheTurtle/subscriptions","organizations_url":"https://api.github.com/users/GordonTheTurtle/orgs","repos_url":"https://api.github.com/users/GordonTheTurtle/repos","events_url":"https://api.github.com/users/GordonTheTurtle/events{/privacy}","received_events_url":"https://api.github.com/users/GordonTheTurtle/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T19:37:09Z","updated_at":"2015-12-15T19:37:09Z","body":"Please sign your commits following these rules:\nhttps://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work\nThe easiest way to do this is to amend the last commit:\n~~~console\n$ git clone -b \"volume-docs\" git@github.com:cdauth/docker.git somewhere\n$ cd somewhere\n$ git commit --amend -s --no-edit\n$ git push -f\n~~~\n\nAmmending updates the existing PR. You **DO NOT** need to open a new one.\n"}}