Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Dockerization and host OS

Posted on 2015-02-19
1
Medium Priority
?
89 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Fine Tune your automatic Updates for Ubuntu / Debian
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

715 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