{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/8791","labels_url":"https://api.github.com/repos/docker/docker/issues/8791/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/8791/comments","events_url":"https://api.github.com/repos/docker/docker/issues/8791/events","html_url":"https://github.com/docker/docker/issues/8791","id":46866467,"number":8791,"title":"Docker in Docker - failed to find the cgroup root","user":{"login":"STOIE","id":2154058,"avatar_url":"https://avatars.githubusercontent.com/u/2154058?v=3","gravatar_id":"","url":"https://api.github.com/users/STOIE","html_url":"https://github.com/STOIE","followers_url":"https://api.github.com/users/STOIE/followers","following_url":"https://api.github.com/users/STOIE/following{/other_user}","gists_url":"https://api.github.com/users/STOIE/gists{/gist_id}","starred_url":"https://api.github.com/users/STOIE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/STOIE/subscriptions","organizations_url":"https://api.github.com/users/STOIE/orgs","repos_url":"https://api.github.com/users/STOIE/repos","events_url":"https://api.github.com/users/STOIE/events{/privacy}","received_events_url":"https://api.github.com/users/STOIE/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels//project/helpwanted","name":"/project/helpwanted","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2014-10-27T03:21:20Z","updated_at":"2015-02-04T23:55:24Z","closed_at":null,"body":"Hi all,\r\n\r\nI am running 1.3 on RHEL7 with a priv container running ubuntu 14:04 and 1.3 under it.\r\nEverything is running, however, in jenkins (the container running docker within), I am getting the following:\r\n\r\n```\r\nSending build context to Docker daemon \r\nStep 0 : FROM ubuntu:latest\r\n ---> 5506de2b643b\r\nStep 1 : MAINTAINER Aaron Nicoli <aaronnicoli@gmail.com>\r\n ---> Running in 88aa05a47854\r\n ---> 23620994a830\r\nRemoving intermediate container 88aa05a47854\r\nStep 2 : ENV DEBIAN_FRONTEND noninteractive\r\n ---> Running in 8462b83bec13\r\n ---> 6aa5870a3b2d\r\nRemoving intermediate container 8462b83bec13\r\nStep 3 : RUN rm -f /etc/localtime\r\n ---> Running in 0f2bcc9197b8\r\nRemoving intermediate container 0f2bcc9197b8\r\n2014/10/27 14:12:23 failed to find the cgroup root\r\nBuild step 'Execute shell' marked build as failure\r\nFinished: FAILURE\r\n```\r\n\r\nAny thoughts?\r\nI can't see any issues, but, then again.. I am no expert.\r\n\r\n```\r\nroot@02eff186c45b:/# df -h\r\nFilesystem                                                                                        Size  Used Avail Use% Mounted on\r\n/dev/mapper/docker-8:49-1310721-02eff186c45bd6dd568a909b7fb7e86cd92a8599b2921c6e558ad21627a705cf  9.8G  735M  8.5G   8% /\r\ntmpfs                                                                                             3.9G     0  3.9G   0% /dev\r\nshm                                                                                                64M     0   64M   0% /dev/shm\r\n/dev/sdd1                                                                                          40G  3.6G   34G  10% /etc/hosts\r\n/dev/sdc1                                                                                          16G  491M   15G   4% /var/jenkins_home\r\ncgroup                                                                                            3.9G     0  3.9G   0% /sys/fs/cgroup\r\n```\r\n\r\nI have /var/lib/docker listed as a volume in the Dockerfile (that the jenk container was built from).\r\n\r\nAaron."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/72966617","html_url":"https://github.com/docker/docker/issues/8791#issuecomment-72966617","issue_url":"https://api.github.com/repos/docker/docker/issues/8791","id":72966617,"user":{"login":"jaybuff","id":49472,"avatar_url":"https://avatars.githubusercontent.com/u/49472?v=3","gravatar_id":"","url":"https://api.github.com/users/jaybuff","html_url":"https://github.com/jaybuff","followers_url":"https://api.github.com/users/jaybuff/followers","following_url":"https://api.github.com/users/jaybuff/following{/other_user}","gists_url":"https://api.github.com/users/jaybuff/gists{/gist_id}","starred_url":"https://api.github.com/users/jaybuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaybuff/subscriptions","organizations_url":"https://api.github.com/users/jaybuff/orgs","repos_url":"https://api.github.com/users/jaybuff/repos","events_url":"https://api.github.com/users/jaybuff/events{/privacy}","received_events_url":"https://api.github.com/users/jaybuff/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T23:55:24Z","updated_at":"2015-02-04T23:55:24Z","body":"ping @vmarmol \r\n\r\nYour commit \r\nhttps://github.com/docker/libcontainer/commit/3cbe3eb3f693876d6c94c0e4d72d627df05a95ae is the root cause of this bug.  Can you move the cgroup root check in cgroups/fs/apply_raw.go to run during startup time rather than runtime?"}}