summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@gentoo.org>2013-09-25 03:22:15 +0000
committerGreg Kroah-Hartman <gregkh@gentoo.org>2013-09-25 03:22:15 +0000
commite02cb75a87dbba9b6e1267013f76e1cf1d2ffca5 (patch)
treec7ab8ee510936c1d8387041c3a2939cb14ed16b6 /app-emulation/docker/files/docker.service
parentBump (diff)
downloadgentoo-2-e02cb75a87dbba9b6e1267013f76e1cf1d2ffca5.tar.gz
gentoo-2-e02cb75a87dbba9b6e1267013f76e1cf1d2ffca5.tar.bz2
gentoo-2-e02cb75a87dbba9b6e1267013f76e1cf1d2ffca5.zip
initial docker ebuild taken (with permission) from git@github.com:tianon/docker-overlay.git
(Portage version: 2.2.6/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-emulation/docker/files/docker.service')
-rw-r--r--app-emulation/docker/files/docker.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-emulation/docker/files/docker.service b/app-emulation/docker/files/docker.service
new file mode 100644
index 000000000000..d841dcc374c0
--- /dev/null
+++ b/app-emulation/docker/files/docker.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Docker - The Linux Container Engine
+Requires=network.target
+After=multi-user.target
+
+[Service]
+Type=simple
+ExecStartPre=/bin/mount --make-rprivate /
+ExecStart=/usr/bin/docker -d
+TimeoutSec=60
+
+[Install]
+WantedBy=multi-user.target