Resolved how to get busybox to created shared mounts

Not documented...

Removed util-linux again.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-08-23 00:17:08 +01:00
parent 21434cfa55
commit e534f613ca
3 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM justincormack/moby-alpine-base:ac8b97858e93f51dff9a2a2229be551638aff1b2
FROM justincormack/moby-alpine-base:c31ad889c44f78974e8e04a5d489be3a07e77536
ENV ARCH=x86_64

View File

@ -22,5 +22,4 @@ RUN \
e2fsprogs-extra \
openssl \
jq \
util-linux \
&& rm -rf /var/cache/apk/*

View File

@ -14,7 +14,7 @@ start()
pidfile="/run/docker.pid"
# mount /run shared eg for volume drivers
mount -o remount,bind,shared /run
mount --make-shared /run
# create cgroups mount for systemd containers
if [ ! -d /sys/fs/cgroup/systemd ]