[lxc-users] LXC and Docker together?

Alexander Karelas alex.karelas at gmail.com
Fri May 24 07:44:45 UTC 2019


Ι found that you can run docker inside an lxd container with a very small tweak, but only if docker is installed from an ordinary ubuntu repo with .debs. Not if docker is the snap version of docker.

Sent from my iPhone

> On 24 May 2019, at 1:28 AM, Andrey Repin <anrdaemon at yandex.ru> 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.
> 
> 
> -- 
> With best regards,
> Andrey Repin
> Friday, May 24, 2019 1:27:10
> 
> Sorry for my terrible english...
> 
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list