1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/contrib/init
Michael Crosby 14aee340f8 Remove docker.socket from rpm based systems
Fixes #23981

The selinux issue we are seeing in the report is related to the socket
file for docker and nothing else. By removing the socket docker starts
up correctly.

However, there is another motivation for removing socket activation from
docker's systemd files and that is because when you have daemons running
with --restart always whenever you have a host reboot those daemons
will not be started again because the docker daemon is not started by
systemd until a request comes into the docker API.

Leave it for deb based systems because everything is working correctly
for both socket activation and starting normally at boot.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
(cherry picked from commit 04104c3a1e)
Signed-off-by: Tibor Vass <tibor@docker.com>
2016-07-25 23:15:42 -07:00
..
openrc contrib: init: use dockerd 2016-05-11 11:00:11 +02:00
systemd Remove docker.socket from rpm based systems 2016-07-25 23:15:42 -07:00
sysvinit-debian contrib: init: use dockerd 2016-05-11 11:00:11 +02:00
sysvinit-redhat Change $prog back to docker in sysvinit-redhat 2016-07-25 23:15:11 -07:00
upstart contrib: init: use dockerd 2016-05-11 11:00:11 +02:00