From 34d0a2610c42e4a219f2413d14b94e4a706f29dd Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Mon, 7 Dec 2015 19:19:50 +0000 Subject: [PATCH] fix docker startup Signed-off-by: Justin Cormack --- alpine/Dockerfile | 2 +- alpine/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/alpine/Dockerfile b/alpine/Dockerfile index d952df4c7..acd0eabed 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -32,7 +32,7 @@ RUN \ rc-update add root && \ rc-update add localmount && \ rc-update add klogd && \ - rc-update add docker && \ + rc-update add docker default && \ ln -s /bin/busybox /init CMD ["/bin/sh"] diff --git a/alpine/Makefile b/alpine/Makefile index a14e456b4..74a1d16a4 100644 --- a/alpine/Makefile +++ b/alpine/Makefile @@ -1,7 +1,7 @@ all: initrd.img ETCFILES=etc/issue etc/motd etc/inittab etc/network/interfaces -#ETCFILES+=etc/init.d/sysfs etc/init.d/cgroupfs-mount +ETCFILES+=etc/init.d/docker ETCFILES+=etc/hostname- etc/resolv.conf- etc/hosts- initrd.img: Dockerfile mkinitrd.sh repositories $(ETCFILES)