{"action":"created","issue":{"url":"https://api.github.com/repos/debops/ansible-docker/issues/27","repository_url":"https://api.github.com/repos/debops/ansible-docker","labels_url":"https://api.github.com/repos/debops/ansible-docker/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/debops/ansible-docker/issues/27/comments","events_url":"https://api.github.com/repos/debops/ansible-docker/issues/27/events","html_url":"https://github.com/debops/ansible-docker/issues/27","id":177108481,"number":27,"title":"docker daemon failed to start on some systemd systems","user":{"login":"dmitryint","id":9825180,"avatar_url":"https://avatars.githubusercontent.com/u/9825180?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitryint","html_url":"https://github.com/dmitryint","followers_url":"https://api.github.com/users/dmitryint/followers","following_url":"https://api.github.com/users/dmitryint/following{/other_user}","gists_url":"https://api.github.com/users/dmitryint/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitryint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitryint/subscriptions","organizations_url":"https://api.github.com/users/dmitryint/orgs","repos_url":"https://api.github.com/users/dmitryint/repos","events_url":"https://api.github.com/users/dmitryint/events{/privacy}","received_events_url":"https://api.github.com/users/dmitryint/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-09-15T07:30:29Z","updated_at":"2016-12-18T15:50:20Z","closed_at":null,"body":"Debian jessie in shipment has the following file: `/lib/systemd/system/docker.service.d/custom.conf` which is in conflict with `/etc/docker/daemon.json`\n\n```\ncat /lib/systemd/system/docker.service.d/custom.conf\n[Service]\nEnvironmentFile=-/etc/default/docker\nExecStart=\nExecStart=/usr/bin/docker daemon $DOCKER_OPTS -H fd://\n```\n\n```\ncat /etc/docker/daemon.json\n{\n    \"graph\": \"/var/lib/docker\",\n    \"hosts\": [\n        \"fd://\",\n        \"\"\n    ]\n}\n```\n\nTherefore, the Docker service fail with the error:\n\n```\n docker[25026]: time=\"2016-09-15T09:19:20-07:00\" level=fatal msg=\"unable to configure the Docker daemon with file /etc/docker/daemon.json: the following directives are specified both as a flag and in the configuration file: hosts: (from flag: [fd://], from file: [fd:// ])\\n\"\n```\n"},"comment":{"url":"https://api.github.com/repos/debops/ansible-docker/issues/comments/267828684","html_url":"https://github.com/debops/ansible-docker/issues/27#issuecomment-267828684","issue_url":"https://api.github.com/repos/debops/ansible-docker/issues/27","id":267828684,"user":{"login":"mellowplace","id":405913,"avatar_url":"https://avatars.githubusercontent.com/u/405913?v=3","gravatar_id":"","url":"https://api.github.com/users/mellowplace","html_url":"https://github.com/mellowplace","followers_url":"https://api.github.com/users/mellowplace/followers","following_url":"https://api.github.com/users/mellowplace/following{/other_user}","gists_url":"https://api.github.com/users/mellowplace/gists{/gist_id}","starred_url":"https://api.github.com/users/mellowplace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mellowplace/subscriptions","organizations_url":"https://api.github.com/users/mellowplace/orgs","repos_url":"https://api.github.com/users/mellowplace/repos","events_url":"https://api.github.com/users/mellowplace/events{/privacy}","received_events_url":"https://api.github.com/users/mellowplace/received_events","type":"User","site_admin":false},"created_at":"2016-12-18T15:50:20Z","updated_at":"2016-12-18T15:50:20Z","body":"Work around for me...\r\n\r\n```sudo apt-get remove docker-engine```\r\n```sudo rm -r /etc/docker/``` <-- interesting this was still here with both docker.io and docker-engine removed\r\n\r\nAll worked fine then."}}
{"actor":{"display_login":"mellowplace"}}