{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/15498","labels_url":"https://api.github.com/repos/docker/docker/issues/15498/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/15498/comments","events_url":"https://api.github.com/repos/docker/docker/issues/15498/events","html_url":"https://github.com/docker/docker/issues/15498","id":100423676,"number":15498,"title":"1.8.0: Systemd can't start docker on Centos 7.1","user":{"login":"abierbaum","id":397889,"avatar_url":"https://avatars.githubusercontent.com/u/397889?v=3","gravatar_id":"","url":"https://api.github.com/users/abierbaum","html_url":"https://github.com/abierbaum","followers_url":"https://api.github.com/users/abierbaum/followers","following_url":"https://api.github.com/users/abierbaum/following{/other_user}","gists_url":"https://api.github.com/users/abierbaum/gists{/gist_id}","starred_url":"https://api.github.com/users/abierbaum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abierbaum/subscriptions","organizations_url":"https://api.github.com/users/abierbaum/orgs","repos_url":"https://api.github.com/users/abierbaum/repos","events_url":"https://api.github.com/users/abierbaum/events{/privacy}","received_events_url":"https://api.github.com/users/abierbaum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"jfrazelle","id":1445228,"avatar_url":"https://avatars.githubusercontent.com/u/1445228?v=3","gravatar_id":"","url":"https://api.github.com/users/jfrazelle","html_url":"https://github.com/jfrazelle","followers_url":"https://api.github.com/users/jfrazelle/followers","following_url":"https://api.github.com/users/jfrazelle/following{/other_user}","gists_url":"https://api.github.com/users/jfrazelle/gists{/gist_id}","starred_url":"https://api.github.com/users/jfrazelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfrazelle/subscriptions","organizations_url":"https://api.github.com/users/jfrazelle/orgs","repos_url":"https://api.github.com/users/jfrazelle/repos","events_url":"https://api.github.com/users/jfrazelle/events{/privacy}","received_events_url":"https://api.github.com/users/jfrazelle/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/docker/docker/milestones/43","html_url":"https://github.com/docker/docker/milestones/1.8.2","labels_url":"https://api.github.com/repos/docker/docker/milestones/43/labels","id":1252928,"number":43,"title":"1.8.2","description":"https://github.com/docker/docker/releases/tag/v1.8.2","creator":{"login":"icecrime","id":1564054,"avatar_url":"https://avatars.githubusercontent.com/u/1564054?v=3","gravatar_id":"","url":"https://api.github.com/users/icecrime","html_url":"https://github.com/icecrime","followers_url":"https://api.github.com/users/icecrime/followers","following_url":"https://api.github.com/users/icecrime/following{/other_user}","gists_url":"https://api.github.com/users/icecrime/gists{/gist_id}","starred_url":"https://api.github.com/users/icecrime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icecrime/subscriptions","organizations_url":"https://api.github.com/users/icecrime/orgs","repos_url":"https://api.github.com/users/icecrime/repos","events_url":"https://api.github.com/users/icecrime/events{/privacy}","received_events_url":"https://api.github.com/users/icecrime/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":25,"state":"closed","created_at":"2015-08-13T02:52:06Z","updated_at":"2015-09-17T22:59:56Z","due_on":"2015-09-10T22:00:00Z","closed_at":"2015-09-17T22:59:56Z"},"comments":111,"created_at":"2015-08-11T22:18:01Z","updated_at":"2015-11-05T22:04:09Z","closed_at":"2015-08-29T18:07:20Z","body":"Using the default configuration of the latest docker 1.8.0 release, systemd can't start docker.\r\n**Workaround:** `yum install docker-selinux`\r\n\r\nUse the commands below to provide key information from your environment:\r\n\r\ndocker version: 1.8.0-1\r\ndocker info: N/A\r\nuname -a: Linux cent7 3.10.0-229.7.2.el7.x86_64 #1 SMP Tue Jun 23 22:06:11 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n\r\nProvide additional environment details (AWS, VirtualBox, physical, etc.):\r\n\r\nReproduction:\r\n\r\n```\r\n[root@cent7 ~]# uname -a\r\nLinux cent7 3.10.0-229.7.2.el7.x86_64 #1 SMP Tue Jun 23 22:06:11 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n[root@cent7 ~]# rpm -qa | grep docker\r\n[root@cent7 ~]# yum install -y http://yum.dockerproject.org/repo/main/centos/7/Packages/docker-engine-1.8.0-1.el7.centos.x86_64.rpm\r\nLoaded plugins: fastestmirror\r\ndocker-engine-1.8.0-1.el7.centos.x86_64.rpm                                                                                            | 6.2 MB  00:00:03     \r\nExamining /var/tmp/yum-root-ctX5iw/docker-engine-1.8.0-1.el7.centos.x86_64.rpm: docker-engine-1.8.0-1.el7.centos.x86_64\r\nMarking /var/tmp/yum-root-ctX5iw/docker-engine-1.8.0-1.el7.centos.x86_64.rpm to be installed\r\nResolving Dependencies\r\n--> Running transaction check\r\n---> Package docker-engine.x86_64 0:1.8.0-1.el7.centos will be installed\r\n--> Processing Dependency: libcgroup for package: docker-engine-1.8.0-1.el7.centos.x86_64\r\nLoading mirror speeds from cached hostfile\r\n * base: mirror.evolvedservers.com\r\n * extras: centos.mbni.med.umich.edu\r\n * updates: mirror.cc.columbia.edu\r\n--> Running transaction check\r\n---> Package libcgroup.x86_64 0:0.41-8.el7 will be installed\r\n--> Finished Dependency Resolution\r\n\r\nDependencies Resolved\r\n\r\n==============================================================================================================================================================\r\n Package                        Arch                    Version                               Repository                                                 Size\r\n==============================================================================================================================================================\r\nInstalling:\r\n docker-engine                  x86_64                  1.8.0-1.el7.centos                    /docker-engine-1.8.0-1.el7.centos.x86_64                   27 M\r\nInstalling for dependencies:\r\n libcgroup                      x86_64                  0.41-8.el7                            base                                                       64 k\r\n\r\nTransaction Summary\r\n==============================================================================================================================================================\r\nInstall  1 Package (+1 Dependent package)\r\n\r\nTotal size: 27 M\r\nTotal download size: 64 k\r\nInstalled size: 27 M\r\nDownloading packages:\r\nlibcgroup-0.41-8.el7.x86_64.rpm                                                                                                    |  64 kB  00:00:15     \r\nRunning transaction check\r\nRunning transaction test\r\nTransaction test succeeded\r\nRunning transaction\r\n  Installing : libcgroup-0.41-8.el7.x86_64                                                                                                            1/2 \r\n  Installing : docker-engine-1.8.0-1.el7.centos.x86_64                                                                                                2/2 \r\n  Verifying  : docker-engine-1.8.0-1.el7.centos.x86_64                                                                                                1/2 \r\n  Verifying  : libcgroup-0.41-8.el7.x86_64                                                                                                            2/2 \r\n\r\nInstalled:\r\n  docker-engine.x86_64 0:1.8.0-1.el7.centos                                                                                                               \r\n\r\nDependency Installed:\r\n  libcgroup.x86_64 0:0.41-8.el7                                                                                                                           \r\n\r\nComplete!\r\n\r\n[root@cent7 ~]# systemctl status docker\r\ndocker.service - Docker Application Container Engine\r\n   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled)\r\n   Active: inactive (dead)\r\n     Docs: https://docs.docker.com\r\n[root@cent7 ~]# systemctl start docker\r\nJob for docker.service failed. See 'systemctl status docker.service' and 'journalctl -xn' for details.\r\n[root@cent7 ~]# journalctl -xn\r\n-- Logs begin at Sun 2015-07-12 09:27:56 EDT, end at Sun 2015-07-12 09:34:04 EDT. --\r\nJul 12 09:32:34 cent7 systemd[1]: Starting Docker Socket for the API.\r\n-- Subject: Unit docker.socket has begun with start-up\r\n-- Defined-By: systemd\r\n-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel\r\n-- \r\n-- Unit docker.socket has begun starting up.\r\nJul 12 09:32:34 cent7 systemd[1]: Listening on Docker Socket for the API.\r\n-- Subject: Unit docker.socket has finished start-up\r\n-- Defined-By: systemd\r\n-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel\r\n-- \r\n-- Unit docker.socket has finished starting up.\r\n-- \r\n-- The start-up result is done.\r\nJul 12 09:32:34 cent7 systemd[1]: Starting Docker Application Container Engine...\r\n-- Subject: Unit docker.service has begun with start-up\r\n-- Defined-By: systemd\r\n-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel\r\n-- \r\n-- Unit docker.service has begun starting up.\r\nJul 12 09:32:34 cent7 kernel: loop: module loaded\r\nJul 12 09:32:40 cent7 docker[2603]: time=\"2015-07-12T09:32:40.871943813-04:00\" level=info msg=\"Option DefaultDriver: bridge\"\r\nJul 12 09:32:40 cent7 docker[2603]: time=\"2015-07-12T09:32:40.872733230-04:00\" level=info msg=\"Option DefaultNetwork: bridge\"\r\nJul 12 09:32:40 cent7 docker[2603]: time=\"2015-07-12T09:32:40.896696252-04:00\" level=warning msg=\"Running modprobe bridge nf_nat br_netfilter failed with messag\r\nJul 12 09:34:04 cent7 systemd[1]: docker.service operation timed out. Terminating.\r\nJul 12 09:34:04 cent7 systemd[1]: Failed to start Docker Application Container Engine.\r\n-- Subject: Unit docker.service has failed\r\n-- Defined-By: systemd\r\n-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel\r\n-- \r\n-- Unit docker.service has failed.\r\n-- \r\n-- The result is failed.\r\nJul 12 09:34:04 cent7 systemd[1]: Unit docker.service entered failed state.\r\n```\r\n\r\nExpected to see docker package install correctly by default and allow using systemd to startup docker on the machine.\r\n\r\nThis is running inside a fresh install of Centos 7.1 inside virtualbox.  Docker 1.7.1 works with no issue."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/154209850","html_url":"https://github.com/docker/docker/issues/15498#issuecomment-154209850","issue_url":"https://api.github.com/repos/docker/docker/issues/15498","id":154209850,"user":{"login":"agsmith","id":3428265,"avatar_url":"https://avatars.githubusercontent.com/u/3428265?v=3","gravatar_id":"","url":"https://api.github.com/users/agsmith","html_url":"https://github.com/agsmith","followers_url":"https://api.github.com/users/agsmith/followers","following_url":"https://api.github.com/users/agsmith/following{/other_user}","gists_url":"https://api.github.com/users/agsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/agsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agsmith/subscriptions","organizations_url":"https://api.github.com/users/agsmith/orgs","repos_url":"https://api.github.com/users/agsmith/repos","events_url":"https://api.github.com/users/agsmith/events{/privacy}","received_events_url":"https://api.github.com/users/agsmith/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T22:04:09Z","updated_at":"2015-11-05T22:04:09Z","body":"Even after installing docker-selinux I still cannot get the docker service to start.  I am using ansible to spin up a Centos 7 AWS instance and I get the following:\r\n```\r\n[centos@ip-172-31-44-105 ~]$ uname -a\r\nLinux ip-172-31-44-105.us-west-2.compute.internal 3.10.0-229.20.1.el7.x86_64 #1 SMP Tue Nov 3 19:10:07 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n[centos@ip-172-31-44-105 ~]$ rpm -qa | grep docker\r\ndocker-selinux-1.8.2-7.el7.centos.x86_64\r\ndocker-1.8.2-7.el7.centos.x86_64\r\n[centos@ip-172-31-44-105 ~]$ sudo systemctl status docker\r\ndocker.service - Docker Application Container Engine\r\n   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled)\r\n   Active: failed (Result: timeout) since Thu 2015-11-05 21:45:15 UTC; 15min ago\r\n     Docs: http://docs.docker.com\r\n Main PID: 1254\r\n   CGroup: /system.slice/docker.service\r\n\r\nNov 05 21:44:00 ip-172-31-44-105.us-west-2.compute.internal systemd[1]: Starting Docker Application Container Engine...\r\nNov 05 21:44:00 ip-172-31-44-105.us-west-2.compute.internal docker[1254]: time=\"2015-11-05T21:44:00.851670809Z\" level=error msg=\"WARNING: No --storage-opt dm.thinpooldev specified, using ...ction use\"\r\nNov 05 21:44:00 ip-172-31-44-105.us-west-2.compute.internal docker[1254]: time=\"2015-11-05T21:44:00.876957288Z\" level=info msg=\"Listening for HTTP on unix (/var/run/docker.sock)\"\r\nNov 05 21:45:00 ip-172-31-44-105.us-west-2.compute.internal systemd[1]: docker.service operation timed out. Terminating.\r\nNov 05 21:45:15 ip-172-31-44-105.us-west-2.compute.internal systemd[1]: Failed to start Docker Application Container Engine.\r\nNov 05 21:45:15 ip-172-31-44-105.us-west-2.compute.internal systemd[1]: Unit docker.service entered failed state.\r\nHint: Some lines were ellipsized, use -l to show in full.\r\n```"}}