{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/8478","labels_url":"https://api.github.com/repos/docker/docker/issues/8478/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/8478/comments","events_url":"https://api.github.com/repos/docker/docker/issues/8478/events","html_url":"https://github.com/docker/docker/pull/8478","id":45292201,"number":8478,"title":"New implementation of /run support","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":[{"url":"https://api.github.com/repos/docker/docker/labels/dco/yes","name":"dco/yes","color":"ededed"},{"url":"https://api.github.com/repos/docker/docker/labels/status/2-needs-code-review","name":"status/2-needs-code-review","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/docker/docker/milestones/38","html_url":"https://github.com/docker/docker/milestones/1.7.0","labels_url":"https://api.github.com/repos/docker/docker/milestones/38/labels","id":1010239,"number":38,"title":"1.7.0","description":"","creator":{"login":"dmcgowan","id":169601,"avatar_url":"https://avatars.githubusercontent.com/u/169601?v=3","gravatar_id":"","url":"https://api.github.com/users/dmcgowan","html_url":"https://github.com/dmcgowan","followers_url":"https://api.github.com/users/dmcgowan/followers","following_url":"https://api.github.com/users/dmcgowan/following{/other_user}","gists_url":"https://api.github.com/users/dmcgowan/gists{/gist_id}","starred_url":"https://api.github.com/users/dmcgowan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmcgowan/subscriptions","organizations_url":"https://api.github.com/users/dmcgowan/orgs","repos_url":"https://api.github.com/users/dmcgowan/repos","events_url":"https://api.github.com/users/dmcgowan/events{/privacy}","received_events_url":"https://api.github.com/users/dmcgowan/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":7,"state":"open","created_at":"2015-03-07T01:54:49Z","updated_at":"2015-04-15T22:29:15Z","due_on":null,"closed_at":null},"comments":44,"created_at":"2014-10-08T20:26:25Z","updated_at":"2015-04-20T18:50:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/8478","html_url":"https://github.com/docker/docker/pull/8478","diff_url":"https://github.com/docker/docker/pull/8478.diff","patch_url":"https://github.com/docker/docker/pull/8478.patch"},"body":"    This mounts a /run tmpfs into the container, with the initial contents\r\n    copies from the /run in the base image, unless NoRunFs is set in the\r\n    HostConfig.\r\n\r\n    Additionally NoRunFs is always set during a docker build, which means\r\n    any setup of /run in a Dockerfile is saved in the image to be copied\r\n    into the final /run tmpfs when a container is started.\r\n\r\n    Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)\r\n\r\nDocker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com> (github: rhatdan)\r\n\r\nDocker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com> (github: rhatdan)"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/94538628","html_url":"https://github.com/docker/docker/pull/8478#issuecomment-94538628","issue_url":"https://api.github.com/repos/docker/docker/issues/8478","id":94538628,"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":"2015-04-20T18:50:21Z","updated_at":"2015-04-20T18:50:21Z","body":"\n\nOn 04/20/2015 01:30 PM, Darren Shepherd wrote:\n>\n> Something seems a bit off to me. In general I don't like to assume\n> anything about what is running in the container. The default mounts\n> that docker sets up today are all /proc and /sys, IIRC, and those are\n> essential to linux. Are we saying that /run as tmpfs is just\n> absolutely fundamental to the behavior of Linux? I don't know\n> @crosbymichael <https://github.com/crosbymichael> latest opinion, but\n> --tmpfs /run seems a bit more reasonable to me.\n>\n> As a side question, is something broken if /run isn't a tmpfs? Is\n> there a basic assumption somewhere that /run must be ephemeral?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/docker/docker/pull/8478#issuecomment-94516426>.\n>\nHow come I don't see this on github?  The biggest problem we have with\n/run not being on a tmpfs is that systemd will not run without\nit on a tmpfs, actually it will but it will attempt to mount /run as a\ntmpfs and will blow up. \n\nSecondly, I want to get both /run and /tmp as tmpfs by default so that\nit is simple to do a\n\ndocker run --read-only fedora /bin/sh\n\nAnd most apps will run.  Apps expect to be able write to /tmp and /run.\n\n/run is a tmpfs on every modern Linux Distribution and /tmp is also on\nmost.  Having these be the same in containers makes sense.\n\n\n"}}