3 ms·
Being lazy, I'm going to ask if you know of some LXC + Btrfs pros in contrast to Docker + Btrfs? Right now a gotcha with Docker + Btrfs is that SELinux context
by cmurf 11y ago
Being lazy, I'm going to ask if you know of some LXC + Btrfs pros in contrast to Docker + Btrfs?
Right now a gotcha with Docker + Btrfs is that SELinux contexts for each container can be different, but the context= mount option currently is once per superblock (thus per fs volume, rather than per fs tree or subvolume). So Docker's work around in 1.10.x is they do a snapshot and then relabel it with the new selinux context then start the container. For my containers (very basic) this adds an almost imperceptible one time delay for that container. I doubt it's even 1 second, which in container start times might seem massive to some.
- ansible 11y agoIf you have already adapted to Docker, then I'm sure you don't want to use LXC. Containers are long-lived and mutable. I treat them like old school servers, just not tied to physical hardware.