LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Containers
User Name
Password
Linux - Containers This forum is for the discussion of all topics relating to Linux containers. Docker, LXC, LXD, runC, containerd, CoreOS, Kubernetes, Mesos, rkt, and all other Linux container platforms are welcome.

Notices


Reply
  Search this Thread
Old 09-14-2016, 12:18 PM   #1
intipsicated
LQ Newbie
 
Registered: Feb 2010
Posts: 3

Rep: Reputation: 1
Which Linux Container do you prefer?


Helloooo nurse!

I think I may just have to fire up my TS440 again...

First things first, which types of containers do all y'all prefer? I've been looking into LXc/LXD and Docker, each appear to have their strengths.
I am relatively new to the Linux community, but I've been tinkering off and on since 2010. My prefernce for kernal is Ubuntu, as I am hopefully going to be experementing with my first openstack cloud early next year. (I am finally able to provide all of the hardware requirements once I purchase one more box)

In the more short term, I am hoping to set up my thinkserver to have containers for a Minecraft server which will host about 5 or 10 players at once, My Plex media server, and maybe one network storage server.

Any input from some of you more experienced Linux users would be very appreciated on the topic of what sort of containerization I should delve into in order to serve my short term needs and also to be compatable with an openstack cloud type environment for my long term goals.

Thank you all for your kind consideration, this community kicks all kinds of ass.

-d
 
Old 09-14-2016, 08:36 PM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,627

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
Quote:
Originally Posted by intipsicated View Post
Helloooo nurse!

I think I may just have to fire up my TS440 again...

First things first, which types of containers do all y'all prefer? I've been looking into LXc/LXD and Docker, each appear to have their strengths.
I am relatively new to the Linux community, but I've been tinkering off and on since 2010. My prefernce for kernal is Ubuntu, as I am hopefully going to be experementing with my first openstack cloud early next year. (I am finally able to provide all of the hardware requirements once I purchase one more box)

In the more short term, I am hoping to set up my thinkserver to have containers for a Minecraft server which will host about 5 or 10 players at once, My Plex media server, and maybe one network storage server.

Any input from some of you more experienced Linux users would be very appreciated on the topic of what sort of containerization I should delve into in order to serve my short term needs and also to be compatable with an openstack cloud type environment for my long term goals.

Thank you all for your kind consideration, this community kicks all kinds of ass.

-d
Re: kicks: IT does. It REALLY does! A few jerks (me) and the rest are some of the BEST people!

I prefer OpenVZ for server containers. It gives me the control, power, and administration options that are perfect for nearly every use case I have. It is optimal on CentOS6 but can run CentOS7 containers nicely, as well as containers based upon about two dozen other distributions. Alas, the OpenVZ team has been torn apart by Parallels: who own the management. A fully compatible kernel for a CentOS7 host or later may never be released. (One can hope, but it is not looking good right now.)

For Application containers I prefer LXC for security, isolation, and compatibility with the version 4+ kernels. This will be my goto option if OpenVZ lets me down.

What do these two have that sell them to me? First, they are kernel based and unbelievably light. The highest containerization overhead I have observed did not reach 3%! I can easily throw a couple of hundred containers on a server without maxing it out. (As long as I do not run too many memory hungry Java processes!)
While LXC is not as secure or mature, the support for it is in the kernel upstream mainline. It is NOT going away, you can COUNT on it.
That they are free and fun to use goes without saying, but I did anyway. ;-)
Both can be managed entirely from the command line, but lend themselves to automation and dashboard (or Web) interfaces nicely: again with VERY low overhead.
 
Old 09-15-2016, 07:18 AM   #3
intipsicated
LQ Newbie
 
Registered: Feb 2010
Posts: 3

Original Poster
Rep: Reputation: 1
Oops, I confused distro and kernel...

To correct my question, which distros do you folks prefer for containerization.
I have one very well reasoned vote for CentOS (now I need to learn about it)

Last edited by intipsicated; 09-15-2016 at 07:23 AM.
 
Old 09-15-2016, 08:35 AM   #4
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
I've moved this discussion to a dedicated thread.

--jeremy
 
Old 03-22-2017, 05:43 AM   #5
arnavk
LQ Newbie
 
Registered: Mar 2017
Posts: 2

Rep: Reputation: Disabled
I prefer docker-box for server containers. By using docker-box you can bring up full blown OS containers within 5-10 seconds instead of setting up virtual machines and you get all the benefits of containers like instantaneous backups(commits), easy start and stop and the awesome feature of pausing your container etc.
 
Old 03-22-2017, 12:08 PM   #6
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,627

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
Quote:
Originally Posted by arnavk View Post
I prefer docker-box for server containers. By using docker-box you can bring up full blown OS containers within 5-10 seconds instead of setting up virtual machines and you get all the benefits of containers like instantaneous backups(commits), easy start and stop and the awesome feature of pausing your container etc.
Those are exactly the same advantages you can obtain from proper use of LXC/LXD and OpenVZ containers. With OpenVZ7 you can now mix kernel based containers and full-V guests almost transparently, but the value to me are the containers for exactly those advantages. Deploy and destroy are very fast, migration requires less downtime than network latency delay, snapshotting, nearly instant start and stop.
 
Old 03-27-2017, 02:59 PM   #7
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,141

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
I run my 4 minecraft servers in LXD containers. Love it, easy to use. Tried KVM, to much overhead. Raw LXC by itself on debian difficult to remember convoluted commands (at least compared to lxd). Works great, and I have live migration if I ever need it.
 
1 members found this post helpful.
Old 04-13-2017, 06:22 AM   #8
simosx
Member
 
Registered: Jul 2005
Posts: 66

Rep: Reputation: 11
I use LXD containers on the desktop. They are fast and you do not need to learn much new things in order to use them.

It's like having multiple computers within your desktop computer!
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux container host os and container os question jzoudavy Linux - Newbie 1 09-01-2015 05:21 AM
LXer: Inside the Open Container Project: How Docker plans to unite the container market LXer Syndicated Linux News 0 06-23-2015 04:30 AM
what do you prefer, BSOD or linux freezing HadroLepton General 11 05-11-2005 09:21 PM
Why do you still prefer Linux than *BSD? melinda_sayang General 11 04-15-2004 04:39 AM
Why we prefer Linux! aiims1777 Linux - General 4 12-10-2003 08:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Containers

All times are GMT -5. The time now is 05:59 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
Open Source Consulting | Domain Registration