mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-30 02:54:11 +00:00
Fix shared mount of /run
Needs util-linux for now, see https://github.com/docker/moby/issues/424 Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
@@ -13,6 +13,9 @@ start()
|
||||
|
||||
pidfile="/run/docker.pid"
|
||||
|
||||
# mount /run shared eg for volume drivers
|
||||
mount -o remount,bind,shared /run
|
||||
|
||||
# create cgroups mount for systemd containers
|
||||
if [ ! -d /sys/fs/cgroup/systemd ]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user