LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 08-05-2016, 01:09 PM   #1
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Opinions on Containers?


http://www.developer.com/design/containers-101.html

So attended a local tech meetup.com presentation on Containers last night, more specifically geared towards Docker.

To me, it seems that it was trying to take VMs into another level with the ability to write code once and have it run everywhere in a type of sandbox environment and should speed up the SDLC.

I've noticed that Red Hat is pushing out some of their errata via Container Images, so that is why I'm taking an interest.

Was wondering what others think or what their experience has been with Containers?

thanks
 
Old 08-05-2016, 02:01 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
The idea behind containers is that they're more efficient than full VMs because only the pieces you need are in each container and you can have multiple containers for each environment.

Here we started using containers for a project about a year ago. The host OS is CoreOS but the containers under that can be and are a mix so we have CentOS, Ubuntu, Fedora and other containers. We are using Docker as well.

RedHat's Atomic is a container platform that has been making major changes in the last year (I suspect in reaction to the popularity of other platforms) so they now use Docker. Their main selling point in presentations I've been to is that they provide the repository of containers and vet them unlike the free for all you get with things such as CoreOS' repositories of containers. Anyone can add to the latter so if you're not doing due dilligence the chance you're bringing in something nasty is fairly high.

Developers love containers because they don't have to ask admins to install the latest version of whatever they want to use. That is to say they can have a container with one version of php another with a different version of php, or 3 with different versions of perl, or a couple with different versions of Java etc... and mix and match for the environment they're setting up.
 
Old 08-05-2016, 02:33 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
I haven't personally used containers, but a Docker container is essentially a chroot with a version-controlled filesystem, distributable as a single file.

The utility of that should be obvious.
 
Old 08-06-2016, 08:54 PM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
It's more than just a chroot-jail.

I like to think of it that "containers use VM technology to implement some of the environment that the container-occupant sees, but not (as in a true VM ...) all of it. The host-OS provides some services to all containers. But the technology in the CPU that provides for hypervisors provides a far-greater degree of isolation for the container.

If you are running server farms, carrying-around "an entire virtual operating system with all the trimmings" (hundreds or thousands of times ...) might well be a lot of overkill. You just don't need (maybe ...) that level of duplication and total-isolation. And, you might encounter impediments if the various things that you're hosting need to coordinate with one another (albeit in a strictly-controlled way). "Containers" deploy the virtualization capabilities of the underlying hardware in a different way. They still "isolate the environment with an iron fist," but the level of isolation does not have to be total. Although the client, running in the container, is walled-off completely (much more completely than "chroot" can do ...), the container itself is not.

Last edited by sundialsvcs; 08-07-2016 at 07:41 AM.
 
Old 08-06-2016, 09:43 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
I think containers are great in a networked/cloud type of environment where the enhanced security they provide has practical application.

I so far, at least, see no benefit from the kewl new package managers like snappy and flapjack or flippy-floppy or whatever it's called for the home user, other than to create a mishmosh of mediocrity with an appeal to the indolent.

But that's just me.
 
Old 08-07-2016, 11:27 AM   #6
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
I saw the title of this thread and thought "Tupperware?!"

I'm obviously out-of-touch
 
Old 08-08-2016, 08:01 AM   #7
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Quote:
Originally Posted by DavidMcCann View Post
I saw the title of this thread and thought "Tupperware?!"
Now you've done it! I predict within a year someone will come out with a container distro called tooperware (to avoid TM issues).
 
Old 08-08-2016, 03:02 PM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
"Silly rabbit." Tupperware containers are used to hide geocaches in the woods! (I seem to recall someone saying that they were also good for storing food, too.)
 
  


Reply

Tags
containers, docker



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
Containers or Hypervisors ? hack3rcon Linux - Virtualization and Cloud 13 06-08-2015 09:06 AM
Docker containers zakame Slackware 2 11-23-2014 10:09 PM
Application Containers mtm1208 Linux - Virtualization and Cloud 0 06-20-2011 04:24 PM
c++ containers vendtagain Programming 6 12-22-2009 04:28 PM
stl containers champ Programming 2 04-09-2003 05:27 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 03:52 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