From 398ade787e227b80c44185d31d007c87d22c0028 Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Tue, 9 Aug 2016 11:39:38 +0100 Subject: [PATCH] Mount /run as shared This is needed for volume drivers as they will mount their volumes under here, and if they are running in a container docker on the host will need to see these. Also provide our own fstab, removes the media devices that were there previously. Signed-off-by: Justin Cormack --- alpine/Makefile | 2 +- alpine/etc/fstab | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 alpine/etc/fstab diff --git a/alpine/Makefile b/alpine/Makefile index f1385d464..ef099e847 100644 --- a/alpine/Makefile +++ b/alpine/Makefile @@ -1,7 +1,7 @@ all: initrd.img.gz mobylinux-efi.iso ETCFILES=etc/issue etc/motd etc/network/interfaces -ETCFILES+=etc/inittab +ETCFILES+=etc/inittab etc/fstab initrd.img: Dockerfile mkinitrd.sh init $(ETCFILES) rm -f initrd.img diff --git a/alpine/etc/fstab b/alpine/etc/fstab new file mode 100644 index 000000000..7ca1d8cb5 --- /dev/null +++ b/alpine/etc/fstab @@ -0,0 +1 @@ +tmpfs /run tmpfs defaults,nodev,relatime,size=10%,mode=755,shared 0 0