LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-31-2015, 05:39 PM   #1
jzoudavy
Member
 
Registered: Apr 2012
Distribution: Ubuntu, SUSE, Redhat
Posts: 180

Rep: Reputation: Disabled
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
 
Old 09-01-2015, 06:21 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Inside the Open Container Project: How Docker plans to unite the container market LXer Syndicated Linux News 0 06-23-2015 05:30 AM
[SOLVED] [LXC] Slackware 14.1 rc1 - Upgraded host & container Chuck56 Slackware 3 10-16-2013 06:58 AM
LXer: OpenVZ: Mounting Host Devices/Partitions/Directories In A Container With Bind Mounts (Debian/U LXer Syndicated Linux News 0 07-21-2012 03:10 AM
Share glibc between Host process and a process within Linux Container alphy Linux - Virtualization and Cloud 0 02-16-2012 12:13 PM
vhost container - Apache namebased virtual host problems mac_casey Linux - Networking 3 01-03-2005 08:25 AM


All times are GMT -5. The time now is 10:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration