{"action":"created","issue":{"url":"https://api.github.com/repos/projectatomic/docker/issues/68","repository_url":"https://api.github.com/repos/projectatomic/docker","labels_url":"https://api.github.com/repos/projectatomic/docker/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/projectatomic/docker/issues/68/comments","events_url":"https://api.github.com/repos/projectatomic/docker/issues/68/events","html_url":"https://github.com/projectatomic/docker/pull/68","id":130993581,"number":68,"title":"secrets","user":{"login":"rhatdan","id":2000835,"avatar_url":"https://avatars.githubusercontent.com/u/2000835?v=3","gravatar_id":"","url":"https://api.github.com/users/rhatdan","html_url":"https://github.com/rhatdan","followers_url":"https://api.github.com/users/rhatdan/followers","following_url":"https://api.github.com/users/rhatdan/following{/other_user}","gists_url":"https://api.github.com/users/rhatdan/gists{/gist_id}","starred_url":"https://api.github.com/users/rhatdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhatdan/subscriptions","organizations_url":"https://api.github.com/users/rhatdan/orgs","repos_url":"https://api.github.com/users/rhatdan/repos","events_url":"https://api.github.com/users/rhatdan/events{/privacy}","received_events_url":"https://api.github.com/users/rhatdan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-03T11:10:22Z","updated_at":"2016-02-03T11:47:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/projectatomic/docker/pulls/68","html_url":"https://github.com/projectatomic/docker/pull/68","diff_url":"https://github.com/projectatomic/docker/pull/68.diff","patch_url":"https://github.com/projectatomic/docker/pull/68.patch"},"body":"Currently we are mounting over /run/secrets if the user mounted something there.  This patch causes the secrets patch to be mounted before any volume mounts are mounted, also makes /run/secrets read/writable.\r\n\r\nSigned-off-by: Dan Walsh <dwalsh@redhat.com>"},"comment":{"url":"https://api.github.com/repos/projectatomic/docker/issues/comments/179182035","html_url":"https://github.com/projectatomic/docker/pull/68#issuecomment-179182035","issue_url":"https://api.github.com/repos/projectatomic/docker/issues/68","id":179182035,"user":{"login":"rhatdan","id":2000835,"avatar_url":"https://avatars.githubusercontent.com/u/2000835?v=3","gravatar_id":"","url":"https://api.github.com/users/rhatdan","html_url":"https://github.com/rhatdan","followers_url":"https://api.github.com/users/rhatdan/followers","following_url":"https://api.github.com/users/rhatdan/following{/other_user}","gists_url":"https://api.github.com/users/rhatdan/gists{/gist_id}","starred_url":"https://api.github.com/users/rhatdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhatdan/subscriptions","organizations_url":"https://api.github.com/users/rhatdan/orgs","repos_url":"https://api.github.com/users/rhatdan/repos","events_url":"https://api.github.com/users/rhatdan/events{/privacy}","received_events_url":"https://api.github.com/users/rhatdan/received_events","type":"User","site_admin":false},"created_at":"2016-02-03T11:47:21Z","updated_at":"2016-02-03T11:47:21Z","body":"If someone mounted on /run/secrets then we loose.  If they mount on a subdir like k8s is doing, they will merge.\r\n\r\nI tested this by doing the following command.\r\n\r\ndocker run -ti -v /etc:/run/secrets/etc --rm fedora sh\r\n"}}