docker-ce: Added Docker community edition

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
This commit is contained in:
Gerard Ryan
2018-10-14 13:18:43 +10:00
committed by Yousong Zhou
parent e6edb0b442
commit f2793d55fe
4 changed files with 215 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh /etc/rc.common
USE_PROCD=1
START=25
# docker can't run with a symlink in the path so we just use /opt/docker/
start_service() {
procd_open_instance
procd_set_param command /usr/bin/dockerd -g /opt/docker/
procd_close_instance
}