Using chroots in a single Linux Container as an alternative to docker-compose
- Track: Containers devroom
- Room: UB2.252A (Lameere)
- Day: Saturday
- Start: 14:00
- End: 14:30
- Video only: ub2252a
- Chat: Join the conversation!
StartOS has devised a new strategy for supporting multiple rootfs images for a single application (e.g. nextcloud + postgres). We have elected to do so by creating a single LXC container for the application, that contains each rootfs image, and running each process in a chroot, using bind mounts for special directories such as /proc
, /dev
, /sys
, and /run
. This reduces the overhead of multiple containers, but could have drawbacks with respect to compatibility between processes from different distributions, and security within the application. As of the time of this talk, we will have tested an implementation of this strategy, and we will report our findings regarding its advantages and disadvantages.
Speakers
Aiden McClelland |