mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-06 17:32:26 +00:00
Rework how /var is mounted
Instead of mounting a new filesystem, revert to doing a `rw` bind. However do not make `/` `rshared`, just `/var` as that is where we expect filesystems to be mounted for persistence. Also only make the actual container rootfs writeable, not the whole directory. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
@@ -2,7 +2,7 @@ kernel:
|
||||
image: "mobylinux/kernel-landlock:4.9.x"
|
||||
cmdline: "console=ttyS0 page_poison=1"
|
||||
init:
|
||||
- mobylinux/init:4a731380d1d9b29472c7de165a1cdf93136ab1e7
|
||||
- mobylinux/init:671bdce1ed0803daeb35e83e4bcd576bb449ea35
|
||||
- mobylinux/runc:b0fb122e10dbb7e4e45115177a61a3f8d68c19a9
|
||||
- mobylinux/containerd:c7f6ecdcbcb615a53edee556ba03c7c873bc8488
|
||||
- mobylinux/ca-certificates:eabc5a6e59f05aa91529d80e9a595b85b046f935
|
||||
|
Reference in New Issue
Block a user