New answers tagged

0

lxc.pre.mount gets executed before the rootfs gets loaded: lxc.hook.pre-mount = /var/lib/lxc/container0/mount-squashfs.sh lxc.rootfs.path = overlayfs:/var/lib/lxc/container0/rootfs:/var/lib/lxc/container0/delta0 And in the mount script: #!/bin/bash mount -nt squashfs -o ro /var/lib/lxc/container0/rootfs.sqsh /var/lib/lxc/container0/rootfs


Top 50 recent answers are included