LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   linux container host os and container os question (https://www.linuxquestions.org/questions/linux-newbie-8/linux-container-host-os-and-container-os-question-4175552262/)

jzoudavy 08-31-2015 04:39 PM

linux container host os and container os question
 
Hi

I am playing around with LXC to famalirize myself with containers. I have the following question: it is my understanding with docker your host OS and container OS have to be the same.

But I am looking at LXC it has options to create many different containers that have different OSes like ubuntu/centos/opensuse etc while the host OS is, for example, ubuntu.

Why is that?

Thanks

TobiSGD 09-01-2015 05:21 AM

Both, Docker and LXC, allow you to run any Linux distribution in their containers, regardless which host distribution you use.


All times are GMT -5. The time now is 03:31 AM.