{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/22847","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/22847/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/22847/comments","events_url":"https://api.github.com/repos/docker/docker/issues/22847/events","html_url":"https://github.com/docker/docker/issues/22847","id":155869105,"number":22847,"title":"\"docker daemon -H fd://\" fails with message \"No sockets found\" under Ubuntu 15.10","user":{"login":"elifarley","id":519940,"avatar_url":"https://avatars.githubusercontent.com/u/519940?v=3","gravatar_id":"","url":"https://api.github.com/users/elifarley","html_url":"https://github.com/elifarley","followers_url":"https://api.github.com/users/elifarley/followers","following_url":"https://api.github.com/users/elifarley/following{/other_user}","gists_url":"https://api.github.com/users/elifarley/gists{/gist_id}","starred_url":"https://api.github.com/users/elifarley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elifarley/subscriptions","organizations_url":"https://api.github.com/users/elifarley/orgs","repos_url":"https://api.github.com/users/elifarley/repos","events_url":"https://api.github.com/users/elifarley/events{/privacy}","received_events_url":"https://api.github.com/users/elifarley/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/version/1.11","name":"version/1.11","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":36,"created_at":"2016-05-20T01:22:03Z","updated_at":"2016-08-10T23:43:51Z","closed_at":null,"body":"Docker used to work fine, but after I ran the official PostgreSQL image (postgres:9.5.3), commands like `docker ps`, `docker images` and `systemctl start docker` would hang.\r\n\r\nI had to kill -9 all docker-related processes and `apt-get remove docker-engine`, and then `rm -rf /var/lib/docker`. After that, I installed docker-engine via `apt-get install docker-engine` and also via get.docker.com, but I couldn't get Docker to run again.\r\n\r\n---------------------------------------------------\r\nBUG REPORT INFORMATION\r\n---------------------------------------------------\r\n**Output of `docker version`:**\r\n\r\n```\r\nClient:\r\n Version:      1.11.1\r\n API version:  1.23\r\n Go version:   go1.5.4\r\n Git commit:   5604cbe\r\n Built:        Tue Apr 26 23:38:55 2016\r\n OS/Arch:      linux/amd64\r\nCannot connect to the Docker daemon. Is the docker daemon running on this host?\r\n```\r\n\r\n\r\n**Output of `docker info`:**\r\n\r\n```\r\nCannot connect to the Docker daemon. Is the docker daemon running on this host?\r\n```\r\nHowever, If I run Docker by typing `docker daemon` (instead of `systemctl start docker`), `docker info` gives this:\r\n```\r\nContainers: 0\r\n Running: 0\r\n Paused: 0\r\n Stopped: 0\r\nImages: 0\r\nServer Version: 1.11.1\r\nStorage Driver: aufs\r\n Root Dir: /var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 0\r\n Dirperm1 Supported: true\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins: \r\n Volume: local\r\n Network: host bridge null\r\nKernel Version: 4.2.0-34-generic\r\nOperating System: Ubuntu 15.10\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 8\r\nTotal Memory: 15.56 GiB\r\nName: thundera\r\nID: KF4T:5CCO:DUDH:ECCB:3CYT:KMNJ:K7LI:LIXM:HZHP:WU74:ZK6C:YO5Y\r\nDocker Root Dir: /var/lib/docker\r\nDebug mode (client): false\r\nDebug mode (server): false\r\nUsername: myuser\r\nRegistry: https://index.docker.io/v1/\r\nWARNING: No swap limit support\r\n```\r\n\r\n**Additional environment details (AWS, VirtualBox, physical, etc.):**\r\nPhysical Ubuntu 15.10\r\nLinux thundera 4.2.0-34-generic #39-Ubuntu SMP Thu Mar 10 22:13:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux\r\n```\r\n$> free -m\r\n             total       used       free     shared    buffers     cached\r\nMem:         15934       3663      12270         76       2275        906\r\n-/+ buffers/cache:        481      15452\r\nSwap:        16269          0      16269\r\n\r\n$> df -h\r\nFilesystem      Size  Used Avail Use% Mounted on\r\nudev            7,8G     0  7,8G   0% /dev\r\ntmpfs           1,6G  9,3M  1,6G   1% /run\r\n/dev/sda2       213G  6,9G  196G   4% /\r\ntmpfs           7,8G     0  7,8G   0% /sys/fs/cgroup\r\n/dev/sda1       511M  3,4M  508M   1% /boot/efi\r\n```\r\n\r\n**Steps to reproduce the issue:**\r\n```\r\n$> apt-get install docker-engine \r\nReading package lists... Done\r\nBuilding dependency tree       \r\nReading state information... Done\r\nThe following NEW packages will be installed:\r\n  docker-engine\r\n0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.\r\nNeed to get 0 B/14,5 MB of archives.\r\nAfter this operation, 73,4 MB of additional disk space will be used.\r\nSelecting previously unselected package docker-engine.\r\n(Reading database ... 216726 files and directories currently installed.)\r\nPreparing to unpack .../docker-engine_1.11.1-0~wily_amd64.deb ...\r\nUnpacking docker-engine (1.11.1-0~wily) ...\r\nProcessing triggers for man-db (2.7.4-1) ...\r\nProcessing triggers for ureadahead (0.100.0-19) ...\r\nProcessing triggers for systemd (225-1ubuntu9) ...\r\nSetting up docker-engine (1.11.1-0~wily) ...\r\n\r\n$> docker daemon\r\nINFO[0000] New containerd process, pid: 6963\r\n           \r\nWARN[0000] containerd: low RLIMIT_NOFILE changing to max  current=1024 max=65536\r\nINFO[0001] Graph migration to content-addressability took 0.00 seconds \r\nINFO[0001] Firewalld running: false                     \r\nINFO[0001] Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address \r\nWARN[0001] Your kernel does not support swap memory limit. \r\nWARN[0001] mountpoint for pids not found                \r\nINFO[0001] Loading containers: start.                   \r\n\r\nINFO[0001] Loading containers: done.                    \r\nINFO[0001] Daemon has completed initialization          \r\nINFO[0001] Docker daemon                                 commit=5604cbe graphdriver=aufs version=1.11.1\r\nINFO[0001] API listen on /var/run/docker.sock     \r\n\r\n(type <CTRL>-C)\r\n\r\n$> docker daemon -H fd://\r\nFATA[0000] No sockets found. Make sure the docker daemon was started by systemd. \r\n\r\n$> systemctl start docker\r\nJob for docker.service failed because the control process exited with error code. See \"systemctl status docker.service\" and \"journalctl -xe\" for details.\r\n\r\n$> systemctl status docker -l\r\n● docker.service - Docker Application Container Engine\r\n   Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)\r\n   Active: failed (Result: exit-code) since Qui 2016-05-19 22:03:41 BRT; 22s ago\r\n     Docs: https://docs.docker.com\r\n  Process: 7057 ExecStart=/usr/bin/docker daemon -H fd:// (code=exited, status=1/FAILURE)\r\n Main PID: 7057 (code=exited, status=1/FAILURE)\r\n\r\nMai 19 22:03:41 thundera systemd[1]: Starting Docker Application Container Engine...\r\nMai 19 22:03:41 thundera docker[7057]: time=\"2016-05-19T22:03:41.436568496-03:00\" level=fatal \r\nmsg=\"No sockets found. Make sure the docker daemon was started by systemd.\"\r\nMai 19 22:03:41 thundera systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE\r\nMai 19 22:03:41 thundera systemd[1]: Failed to start Docker Application Container Engine.\r\nMai 19 22:03:41 thundera systemd[1]: docker.service: Unit entered failed state.\r\nMai 19 22:03:41 thundera systemd[1]: docker.service: Failed with result 'exit-code'.\r\n\r\n$> journalctl -xe\r\n-- Unit docker.service has begun starting up.\r\nMai 19 22:03:41 thundera docker[7057]: time=\"2016-05-19T22:03:41.436568496-03:00\" level=fatal \r\nmsg=\"No sockets found. Make sure the docker daemon was started by systemd.\"\r\nMai 19 22:03:41 thundera systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE\r\nMai 19 22:03:41 thundera systemd[1]: Failed to start Docker Application Container Engine.\r\n-- Subject: Unit docker.service has failed\r\n```\r\n\r\n**Describe the results you received:**\r\nDocker daemon doesn't run\r\n\r\n**Describe the results you expected:**\r\nDocker daemon should be running\r\n\r\n**Additional information you deem important (e.g. issue happens only occasionally):**"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/239037981","html_url":"https://github.com/docker/docker/issues/22847#issuecomment-239037981","issue_url":"https://api.github.com/repos/docker/docker/issues/22847","id":239037981,"user":{"login":"brunofitas","id":698545,"avatar_url":"https://avatars.githubusercontent.com/u/698545?v=3","gravatar_id":"","url":"https://api.github.com/users/brunofitas","html_url":"https://github.com/brunofitas","followers_url":"https://api.github.com/users/brunofitas/followers","following_url":"https://api.github.com/users/brunofitas/following{/other_user}","gists_url":"https://api.github.com/users/brunofitas/gists{/gist_id}","starred_url":"https://api.github.com/users/brunofitas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunofitas/subscriptions","organizations_url":"https://api.github.com/users/brunofitas/orgs","repos_url":"https://api.github.com/users/brunofitas/repos","events_url":"https://api.github.com/users/brunofitas/events{/privacy}","received_events_url":"https://api.github.com/users/brunofitas/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T23:43:50Z","updated_at":"2016-08-10T23:43:50Z","body":"I was speaking to DC/OS dev team, and they told me docker 1.12.0 is not supported.\r\nThe DC/OS installer has this line on it\r\n```\r\nyum install -y docker-engine\r\n```\r\nwhich installs docker 1.12.0, when they should have something like\r\n```\r\nyum install -y docker-engine-selinux-1.11.0 && yum install -y docker-engine-1.11.0\r\n```\r\nThis has been fixed on version 1.8.\r\n@thaJeztah Thanks for your help.\r\n"}}
{"actor":{"display_login":"brunofitas"}}