Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Dockerization and host OS

Posted on 2015-02-19
1
Medium Priority
?
92 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 20

Accepted Solution

by:
simon3270 earned 2000 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month12 days, 1 hour left to enroll

916 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