Solved

Dockerization and host OS

Posted on 2015-02-19
1
77 Views
Last Modified: 2015-02-23
An expert posted an excellent response to my last question stating that a Docker is primarily used to have a disk image of the entire OS  in order to contain all of the dependencies within a single image and then it can be transported to an IaaS (or other) environment for deployment

I assume most apps are sent within some  sort of Linux system, so would that cause a a depenency upon the Linux version and provider.  If the Docker is CentOS, and the host is Debian, is it still possible to run the docker?
0
Comment
Question by:Anthony Lucia
1 Comment
 
LVL 19

Accepted Solution

by:
simon3270 earned 500 total points
ID: 40620659
No, the container does not hold the OS. That's how many  (most?)  virtual machine systems work, but a dock is more lightweight - it contains just the application and its immediate dependencies. The dock runs on top of the docker engine, and that in turn runs in the host OS. So, all of the docks running on a single host all share the same OS.

I'm not a major user of docker, but I have seen its potential. At work we had 50 docks, each with an instances of an application, running on a single host - there's no way we could have done that with traditional virtual machines.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question