Some changes to get this working on CentOS 7
Old versions of things on CentOS 7 strike again!
infinity is not a thing for TimeoutSec on systemd < 229
@@ -8,10 +8,8 @@ Wants=network-online.target containerd.service
# Install containerd-shim-process if it's not already installed
ExecStartPre=/usr/libexec/containerd-offline-installer /var/lib/containerd-offline-installer/containerd-shim-process.tar docker.io/docker/containerd-shim-process
ExecStart=/usr/bin/dockerd
-TimeoutSec=infinity
-KillMode=process
+TimeoutSec=0
Restart=always
-Delegate=yes
# On RPM Based distributions PATH isn't defined so we define it here
# /opt/containerd/bin is in front so dockerd grabs the correct runc binary
Environment="PATH=/opt/containerd/bin:/sbin:/usr/bin:/usr/local/bin:$PATH"
