{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/20539","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/20539/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/20539/comments","events_url":"https://api.github.com/repos/docker/docker/issues/20539/events","html_url":"https://github.com/docker/docker/issues/20539","id":135058058,"number":20539,"title":"Full Volume not being attached to container","user":{"login":"devotox","id":2064846,"avatar_url":"https://avatars.githubusercontent.com/u/2064846?v=3","gravatar_id":"","url":"https://api.github.com/users/devotox","html_url":"https://github.com/devotox","followers_url":"https://api.github.com/users/devotox/followers","following_url":"https://api.github.com/users/devotox/following{/other_user}","gists_url":"https://api.github.com/users/devotox/gists{/gist_id}","starred_url":"https://api.github.com/users/devotox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devotox/subscriptions","organizations_url":"https://api.github.com/users/devotox/orgs","repos_url":"https://api.github.com/users/devotox/repos","events_url":"https://api.github.com/users/devotox/events{/privacy}","received_events_url":"https://api.github.com/users/devotox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-20T10:17:12Z","updated_at":"2016-02-20T18:39:06Z","closed_at":null,"body":"Would you know why my full volume is not getting shared ...\r\n\r\nThis is the vm directory mapped to my local volume\r\n```\r\n~/D/platform >> docker run -it  --entrypoint=bash  -v (pwd)/:/www/platform platform_deploy\r\nroot@41c7c1709ec1:/www/platform# ls\r\napi  bin  intranet  jenkins  logs  nginx  sslcert  website\r\nroot@41c7c1709ec1:/www/platform# ls -la\r\ntotal 8\r\ndrwxr-xr-x 11 1000 root   240 Feb 20 01:15 .\r\ndrwxr-xr-x  3 root root  4096 Feb 20 01:24 ..\r\ndrwxr-xr-x  3 root root    80 Feb 20 01:01 .elasticbeanstalk\r\n-rw-r--r--  1 root root   108 Feb 20 00:47 .gitignore\r\ndrwxr-xr-x  9 1000 staff  400 Feb 19 23:39 api\r\ndrwxr-xr-x  2 root root    40 Feb 20 01:15 bin\r\ndrwxr-xr-x 11 1000 staff  500 Feb 19 23:41 intranet\r\ndrwxr-xr-x 16 1000 staff 1420 Feb 20 00:41 jenkins\r\ndrwxr-xr-x  2 1000 root    40 Feb 20 00:17 logs\r\ndrwxr-xr-x  4 1000 staff  340 Feb 19 23:38 nginx\r\ndrwxr-xr-x  2 1000 staff  220 Feb 19 23:38 sslcert\r\ndrwxr-xr-x  5 1000 staff  360 Feb 19 23:39 website\r\nroot@41c7c1709ec1:/www/platform# exit\r\nexit\r\n```\r\n\r\nThis is the host directory\r\n```\r\n~/D/platform >> ls -la\r\ntotal 200\r\ndrwxr-xr-x  34 devonte  staff   1156 20 Feb 00:49 ./\r\ndrwx------+ 13 devonte  staff    442 19 Feb 17:00 ../\r\n-rw-r--r--@  1 devonte  staff   8196 19 Feb 16:59 .DS_Store\r\ndrwxr-xr-x   4 devonte  staff    136 20 Feb 01:09 .ebextensions/\r\ndrwxr-xr-x   6 devonte  staff    204 17 Feb 10:19 .ebextensions-old/\r\ndrwxr-xr-x   2 devonte  staff     68 18 Feb 17:54 .elasticbeanstalk/\r\ndrwxr-xr-x  15 devonte  staff    510 20 Feb 01:37 .git/\r\n-rw-r--r--   1 devonte  staff   1599 20 Feb 01:32 .gitignore\r\n-rw-r--r--   1 devonte  staff    735 19 Feb 18:31 .rsyncignore\r\ndrwxr-xr-x   3 devonte  staff    102 19 Feb 16:47 .vagrant/\r\n-rw-r--r--   1 devonte  staff   8280  8 Jan 17:19 BEST_PRACTICES.md\r\n-rw-r--r--   1 devonte  staff   9876 20 Feb 01:28 DOCKER-README.md\r\n-rw-r--r--   1 devonte  staff  10270 20 Feb 00:06 Dockerrun.aws.json\r\n-rw-r--r--   1 devonte  staff      0 15 Jun  2015 LICENSE\r\n-rw-r--r--   1 devonte  staff   6361 16 Feb 17:09 LOCAL-README.md\r\n-rw-r--r--   1 devonte  staff   2252 16 Feb 17:11 README.md\r\n-rw-r--r--   1 devonte  staff   3674 19 Feb 17:32 Vagrantfile\r\ndrwxr-xr-x  20 devonte  staff    680 19 Feb 18:23 api/\r\ndrwxr-xr-x  21 devonte  staff    714 15 Feb 15:29 bin/\r\ndrwxr-xr-x   3 devonte  staff    102 15 Feb 15:56 config/\r\ndrwxr-xr-x  17 devonte  staff    578 18 Feb 14:49 database/\r\ndrwxr-xr-x   4 devonte  staff    136 20 Feb 01:20 deploy/\r\ndrwxr-xr-x  12 devonte  staff    408 19 Feb 09:00 docker/\r\n-rw-r--r--   1 devonte  staff    338 20 Feb 01:37 docker-compose-deploy.yml\r\n-rw-r--r--   1 devonte  staff   2596 19 Feb 09:00 docker-compose-prod.yml\r\n-rw-r--r--   1 devonte  staff   3454 20 Feb 00:22 docker-compose.yml\r\n-rw-r--r--   1 devonte  staff  12370 15 Feb 10:27 gulpfile.js\r\ndrwxr-xr-x  26 devonte  staff    884 19 Feb 17:34 intranet/\r\ndrwxr-xr-x  74 devonte  staff   2516 19 Feb 22:13 jenkins/\r\ndrwxr-xr-x  17 devonte  admin    578 18 Feb 14:49 nginx/\r\ndrwxr-xr-x   3 devonte  staff    102 14 Feb 15:45 node-base/\r\ndrwxr-xr-x   4 devonte  staff    136 18 Feb 14:49 shared/\r\ndrwxr-xr-x  11 devonte  staff    374 18 Feb 14:49 sslcert/\r\ndrwxr-xr-x  18 devonte  staff    612 19 Feb 10:46 website/\r\n```"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/186664563","html_url":"https://github.com/docker/docker/issues/20539#issuecomment-186664563","issue_url":"https://api.github.com/repos/docker/docker/issues/20539","id":186664563,"user":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars.githubusercontent.com/u/1804568?v=3","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"created_at":"2016-02-20T18:39:06Z","updated_at":"2016-02-20T18:39:06Z","body":"What is the directory you're running this in? By default, only the `/Users` directory (and anything in it) is shared with the Virtual Machine, so accessible by the daemon, anything outside that directory is not shared, so will lead to an empty directory being created inside the virtual machine, and mounted as a volume"}}