[Samba] Container setup?
Goetz, Patrick G
pgoetz at math.utexas.edu
Wed Jul 10 16:31:24 UTC 2019
On 7/10/19 11:13 AM, Joachim Lindenberg via samba wrote:
> I am not really happy with LXD, exactly for the reason Stéphane gives in
> https://stgraber.org/2016/03/11/lxd-2-0-introduction-to-lxd-112/ "How does LXD relate to Docker/Rkt?"... what I really like about docker and docker-compose is, that it encourages to separate code from data and configuration, whereas with LXD you end up with the usual mix in your file system
I would think this explanation:
"LXD focuses on system containers, also called infrastructure
containers. That is, a LXD container runs a full Linux system, exactly
as it would be when run on metal or in a VM.
Those containers will typically be long running and based on a clean
distribution image. Traditional configuration management tools and
deployment tools can be used with LXD containers exactly as you would
use them for a VM, cloud instance or physical machine.
In contrast, Docker focuses on ephemeral, stateless, minimal containers
that won’t typically get upgraded or re-configured but instead just be
replaced entirely. That makes Docker and similar projects much closer to
a software distribution mechanism than a machine management tool."
Would make LXD exactly appropriate for an always on Samba AD domain
controller.
Regarding data, it's pretty easy to mount a file system into a
container, or just maintain the separation the same way you do on bare
metal.
Anyway, whatever works for you.
More information about the samba
mailing list