{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack-formulas/docker-formula/issues/80","repository_url":"https://api.github.com/repos/saltstack-formulas/docker-formula","labels_url":"https://api.github.com/repos/saltstack-formulas/docker-formula/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/saltstack-formulas/docker-formula/issues/80/comments","events_url":"https://api.github.com/repos/saltstack-formulas/docker-formula/issues/80/events","html_url":"https://github.com/saltstack-formulas/docker-formula/issues/80","id":154901052,"number":80,"title":"Overriding Systemd file on Debian Jessie breaks Docker","user":{"login":"timwhite","id":985171,"avatar_url":"https://avatars.githubusercontent.com/u/985171?v=3","gravatar_id":"","url":"https://api.github.com/users/timwhite","html_url":"https://github.com/timwhite","followers_url":"https://api.github.com/users/timwhite/followers","following_url":"https://api.github.com/users/timwhite/following{/other_user}","gists_url":"https://api.github.com/users/timwhite/gists{/gist_id}","starred_url":"https://api.github.com/users/timwhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timwhite/subscriptions","organizations_url":"https://api.github.com/users/timwhite/orgs","repos_url":"https://api.github.com/users/timwhite/repos","events_url":"https://api.github.com/users/timwhite/events{/privacy}","received_events_url":"https://api.github.com/users/timwhite/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-05-15T10:16:56Z","updated_at":"2016-10-26T16:43:03Z","closed_at":null,"body":"Debian jessie without specifying a version of docker gives us docker.io from backports which is 1.6.2 currently. This package provides a functioning systemd file.\r\n```\r\n$ cat /lib/systemd/system/docker.service\r\n[Unit]\r\nDescription=Docker Application Container Engine\r\nDocumentation=http://docs.docker.com\r\nAfter=network.target docker.socket\r\nRequires=docker.socket\r\n\r\n[Service]\r\nEnvironmentFile=-/etc/default/docker\r\nExecStart=/usr/bin/docker -d -H fd:// $DOCKER_OPTS\r\nMountFlags=slave\r\nLimitNOFILE=1048576\r\nLimitNPROC=1048576\r\nLimitCORE=infinity\r\n\r\n[Install]\r\nWantedBy=multi-user.target\r\n```\r\n\r\nThis formula however provides it's own systemd file which uses the ```docker daemon``` startup option that was introduced in docker 1.8, and so doesn't work with Jessie's 1.6\r\n```\r\n$ cat /etc/systemd/system/docker.service.d/docker-defaults.conf \r\n[Service]\r\nEnvironmentFile=-/etc/default/docker\r\nExecStart=\r\nExecStart=/usr/bin/docker daemon $DOCKER_OPTS -H fd://\r\n```\r\n\r\nObviously we can override the docker version to get a newer version not from backports that will work, but given that we provide the option for the backports version, we shouldn't override the systemd file.\r\n\r\nSurely we can rely on the packaged systemd files instead of installing our own with this formula?"},"comment":{"url":"https://api.github.com/repos/saltstack-formulas/docker-formula/issues/comments/256407695","html_url":"https://github.com/saltstack-formulas/docker-formula/issues/80#issuecomment-256407695","issue_url":"https://api.github.com/repos/saltstack-formulas/docker-formula/issues/80","id":256407695,"user":{"login":"blbradley","id":1435085,"avatar_url":"https://avatars.githubusercontent.com/u/1435085?v=3","gravatar_id":"","url":"https://api.github.com/users/blbradley","html_url":"https://github.com/blbradley","followers_url":"https://api.github.com/users/blbradley/followers","following_url":"https://api.github.com/users/blbradley/following{/other_user}","gists_url":"https://api.github.com/users/blbradley/gists{/gist_id}","starred_url":"https://api.github.com/users/blbradley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blbradley/subscriptions","organizations_url":"https://api.github.com/users/blbradley/orgs","repos_url":"https://api.github.com/users/blbradley/repos","events_url":"https://api.github.com/users/blbradley/events{/privacy}","received_events_url":"https://api.github.com/users/blbradley/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T16:43:03Z","updated_at":"2016-10-26T16:43:03Z","body":"Closed in #93."}}
{"actor":{"display_login":"blbradley"}}