[lxc-users] LXC and Docker together?
Richard Hector
richard at walnut.gen.nz
Sat May 25 18:07:50 UTC 2019
On 24/05/19 10:28 AM, Andrey Repin wrote:
> Greetings, Richard Hector!
>
>> I've been asked by my client to set up Docker on the host I'd set up for
>> them with LXC (on Debian Stretch). This is because the applications that
>> run in the containers (Atlassian suite, mostly) will in the future be
>> managed by a different contractor, who is familiar with Docker. So
>> eventually, I expect most or all of the LXC containers will be replaced
>> with Docker ones.
>
>> It appears that I can install Docker from the Docker repo, so that's ok.
>
>> What I'm more worried about, is if they're both using the same
>> underlying technology (are they?) whether they'll interact in bad and/or
>> unexpected ways.
>
>> Am I likely to be safe doing this? Anything to watch out for?
>
>> And will I eventually be able to uninstall LXC without disrupting Docker?
>
> They are not related per se. They use similar kernel functionality, but
> there's no conflict between them, if that's what you want to know.
> Furthermore, with a little tweak you can run Docker inside LXC container.
Thanks all,
I installed a new KVM with LXC in it, and added Docker ... it seems that
Docker's default iptables rules do interfere with the way I set up
bridges for LXC, but with a bit more head scratching, I think I'll be
able to make it work :-)
Cheers,
Richard
More information about the lxc-users
mailing list