mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-27 20:48:11 +00:00
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 <justin.cormack@docker.com>
This commit is contained in:
parent
f1f73ad14e
commit
398ade787e
@ -1,7 +1,7 @@
|
|||||||
all: initrd.img.gz mobylinux-efi.iso
|
all: initrd.img.gz mobylinux-efi.iso
|
||||||
|
|
||||||
ETCFILES=etc/issue etc/motd etc/network/interfaces
|
ETCFILES=etc/issue etc/motd etc/network/interfaces
|
||||||
ETCFILES+=etc/inittab
|
ETCFILES+=etc/inittab etc/fstab
|
||||||
|
|
||||||
initrd.img: Dockerfile mkinitrd.sh init $(ETCFILES)
|
initrd.img: Dockerfile mkinitrd.sh init $(ETCFILES)
|
||||||
rm -f initrd.img
|
rm -f initrd.img
|
||||||
|
1
alpine/etc/fstab
Normal file
1
alpine/etc/fstab
Normal file
@ -0,0 +1 @@
|
|||||||
|
tmpfs /run tmpfs defaults,nodev,relatime,size=10%,mode=755,shared 0 0
|
Loading…
Reference in New Issue
Block a user