mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-25 11:44:44 +00:00
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:
parent
21434cfa55
commit
e534f613ca
@ -1,4 +1,4 @@
|
||||
FROM justincormack/moby-alpine-base:ac8b97858e93f51dff9a2a2229be551638aff1b2
|
||||
FROM justincormack/moby-alpine-base:c31ad889c44f78974e8e04a5d489be3a07e77536
|
||||
|
||||
ENV ARCH=x86_64
|
||||
|
||||
|
@ -22,5 +22,4 @@ RUN \
|
||||
e2fsprogs-extra \
|
||||
openssl \
|
||||
jq \
|
||||
util-linux \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
@ -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 ]
|
||||
|
Loading…
Reference in New Issue
Block a user