{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/4361","labels_url":"https://api.github.com/repos/docker/docker/issues/4361/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/4361/comments","events_url":"https://api.github.com/repos/docker/docker/issues/4361/events","html_url":"https://github.com/docker/docker/issues/4361","id":28376964,"number":4361,"title":"Docker Volumes not respect container folder contents","user":{"login":"renanvaz","id":120375,"avatar_url":"https://avatars.githubusercontent.com/u/120375?v=3","gravatar_id":"","url":"https://api.github.com/users/renanvaz","html_url":"https://github.com/renanvaz","followers_url":"https://api.github.com/users/renanvaz/followers","following_url":"https://api.github.com/users/renanvaz/following{/other_user}","gists_url":"https://api.github.com/users/renanvaz/gists{/gist_id}","starred_url":"https://api.github.com/users/renanvaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renanvaz/subscriptions","organizations_url":"https://api.github.com/users/renanvaz/orgs","repos_url":"https://api.github.com/users/renanvaz/repos","events_url":"https://api.github.com/users/renanvaz/events{/privacy}","received_events_url":"https://api.github.com/users/renanvaz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2014-02-26T22:39:14Z","updated_at":"2016-01-14T02:36:52Z","closed_at":"2014-03-01T19:11:17Z","body":"When i use a volume, the contents of my folder in container are deleted. \r\nIs there any configuration to be given a merge the files? It is a bug?\r\n\r\nUbuntu version: 13.10 (Saucy)\r\nDocker version: Docker version 0.8\r\nVirtualBox version: 4.3.6\r\nVagrant version: 1.4.3"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/171512548","html_url":"https://github.com/docker/docker/issues/4361#issuecomment-171512548","issue_url":"https://api.github.com/repos/docker/docker/issues/4361","id":171512548,"user":{"login":"yefim","id":1170843,"avatar_url":"https://avatars.githubusercontent.com/u/1170843?v=3","gravatar_id":"","url":"https://api.github.com/users/yefim","html_url":"https://github.com/yefim","followers_url":"https://api.github.com/users/yefim/followers","following_url":"https://api.github.com/users/yefim/following{/other_user}","gists_url":"https://api.github.com/users/yefim/gists{/gist_id}","starred_url":"https://api.github.com/users/yefim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yefim/subscriptions","organizations_url":"https://api.github.com/users/yefim/orgs","repos_url":"https://api.github.com/users/yefim/repos","events_url":"https://api.github.com/users/yefim/events{/privacy}","received_events_url":"https://api.github.com/users/yefim/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T02:36:52Z","updated_at":"2016-01-14T02:36:52Z","body":"Is there a way to run commands after the volume is mounted? I want to mount the folder that has my `package.json` then run `npm install` to install all the dependencies into the container."}}