summaryrefslogtreecommitdiff
path: root/app-emulation/docker/files/docker.service
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2016-04-02 12:17:01 +0300
committerBlackNoxis <steven.darklight@gmail.com>2016-04-02 12:17:01 +0300
commit3c1016376d4761ecca61e5d4c43bbd3e4ba180bc (patch)
tree0e6966b6a2922aea7b28c506d79345aa3923968c /app-emulation/docker/files/docker.service
parent9a2f8110322c3c3b3beb6e16f1d5253da1f53e89 (diff)
[docker] added docker to the repo. included support for our binary kernel and systemd
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 00000000..bd53c520
--- /dev/null
+++ b/app-emulation/docker/files/docker.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Easily create lightweight, portable, self-sufficient containers from any application!
+Requires=network.target
+After=multi-user.target
+
+[Service]
+Type=simple
+EnvironmentFile=-/etc/default/docker
+ExecStartPre=/bin/mount --make-rprivate /
+ExecStart=/usr/bin/docker -d ${DOCKER_OPTS}
+
+[Install]
+WantedBy=multi-user.target