{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/21739","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/21739/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/21739/comments","events_url":"https://api.github.com/repos/docker/docker/issues/21739/events","html_url":"https://github.com/docker/docker/issues/21739","id":145554473,"number":21739,"title":"Vol mounted overlayfs directory in is invisible to container","user":{"login":"suryagaddipati","id":64078,"avatar_url":"https://avatars.githubusercontent.com/u/64078?v=3","gravatar_id":"","url":"https://api.github.com/users/suryagaddipati","html_url":"https://github.com/suryagaddipati","followers_url":"https://api.github.com/users/suryagaddipati/followers","following_url":"https://api.github.com/users/suryagaddipati/following{/other_user}","gists_url":"https://api.github.com/users/suryagaddipati/gists{/gist_id}","starred_url":"https://api.github.com/users/suryagaddipati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suryagaddipati/subscriptions","organizations_url":"https://api.github.com/users/suryagaddipati/orgs","repos_url":"https://api.github.com/users/suryagaddipati/repos","events_url":"https://api.github.com/users/suryagaddipati/events{/privacy}","received_events_url":"https://api.github.com/users/suryagaddipati/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2016-04-04T00:04:32Z","updated_at":"2016-04-04T16:34:13Z","closed_at":"2016-04-04T16:19:04Z","body":"\r\n` /cache/ssd/merged/6` is an overlayfs 'merged' directory\r\n\r\non the host machine \r\n\r\n```\r\n# ls /cache/ssd/merged/6\r\nsaf.txt  sf.txt\r\n\r\n```\r\n\r\n```\r\ndocker run  -it -v /cache/ssd/merged/6:/images busybox sh\r\n/ # ls /images/\r\n/#\r\n```\r\nExpected:   ` ls /images ` should show contents of the mounted directory\r\n\r\nI verified that this works with `runc` with the following config \r\n\r\n```\r\n\"mounts\": [\r\n                {\r\n                       \"destination\": \"/images/\",\r\n                        \"type\": \"bind\",\r\n                        \"source\": \"/cache/ssd/merged/6\",\r\n                        \"options\": [\"bind\",\"rw\"]\r\n}\r\n....\r\n```\r\n\r\n\r\nVersions\r\n\r\n```\r\ndocker --version\r\nDocker version 1.10.3, build 20f81dd\r\n\r\ndocker info\r\n\r\nServer Version: 1.10.3\r\nStorage Driver: overlay\r\n Backing Filesystem: extfs\r\nExecution Driver: native-0.2\r\nLogging Driver: json-file\r\nKernel Version: 3.19.1-1.el6.elrepo.x86_64\r\nOperating System: <unknown>\r\nOSType: linux\r\nArchitecture: x86_64\r\n```"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/205381848","html_url":"https://github.com/docker/docker/issues/21739#issuecomment-205381848","issue_url":"https://api.github.com/repos/docker/docker/issues/21739","id":205381848,"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":"2016-04-04T16:34:13Z","updated_at":"2016-04-04T16:34:13Z","body":"Glad to hear it!"}}