How to build custom Linux image
by gustav3000 from LinuxQuestions.org on (#5NVAN)
I want to build custom Gentoo image, one based on hardened+nomultilib stage, and another one based on hardened+nomultilib+selinux stage. I'm going to setup own binary package server on Gentoo in the LXD container for my server.
I have following questions:
1. Is it a good idea to run SELinux inside container or is it a better idea to use virtual machine?
2. Is it possible to tell distrobuilder to download hardened+nomultilib stage instead of normal one?
3. What do you think about manually setting up chroot and packing LXD image using distrobuilder?
4. Is LXD compatible with SELinux? I'm not sure if I can use SELinux on production server using LXD as a container technology.
I have following questions:
1. Is it a good idea to run SELinux inside container or is it a better idea to use virtual machine?
2. Is it possible to tell distrobuilder to download hardened+nomultilib stage instead of normal one?
3. What do you think about manually setting up chroot and packing LXD image using distrobuilder?
4. Is LXD compatible with SELinux? I'm not sure if I can use SELinux on production server using LXD as a container technology.