Solved

Dockerization and host OS

Posted on 2015-02-19
1
88 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 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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.
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.
Suggested Courses

622 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