|
@@ -1,11 +1,13 @@
|
|
[Unit]
|
|
[Unit]
|
|
-Description=Docker Application Container Engine
|
|
|
|
|
|
+Description=Docker Application Container Engine
|
|
Documentation=http://docs.docker.io
|
|
Documentation=http://docs.docker.io
|
|
After=network.target
|
|
After=network.target
|
|
|
|
|
|
[Service]
|
|
[Service]
|
|
-ExecStartPre=/bin/mount --make-rprivate /
|
|
|
|
|
|
+Type=simple
|
|
|
|
+ExecStartPre=/usr/sbin/sysctl -w net.ipv4.ip_forward=1 net.ipv6.conf.all.forwarding=1
|
|
ExecStart=/usr/bin/docker -d
|
|
ExecStart=/usr/bin/docker -d
|
|
|
|
+Restart=on-failure
|
|
|
|
|
|
[Install]
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
WantedBy=multi-user.target
|