Skip to main content

Posts

Showing posts from March 5, 2017

Docker Installation Architecture

Docker Installation Architecture You can install Docker Engine on top of Linux, Mac and Windows operating systems. This figure shows a native Linux OS Docker deployment. This is a Linux system with several Docker applications installed. The Docker daemon manages the Docker containers: This example shows that Docker can be deployed as an application on older Windows or Mac systems via the Docker Toolbox . Toolbox uses docker-machine to provision a VirtualBox VM, which runs the boot2docker Linux distribution, and manages containers via the Docker daemon: This next example shows the Docker daemon  installed directly on a supported Mac or Windows OS, creating containers on top of a HyperKit VM (Mac) or Hyper-V VM (Windows): Docker provides an efficient mechanism to build , ship , and run any app on any OS on any platform , i.e. physical host, virtual host or in the cloud: Docker

Container and Virtual Machine Differences

Container and Virtual Machine Differences The differences between a Docker Container and a hypervisor-based Virtual Machine can be highlighted as follows: Footprint Each VM on the host runs its own (guest) operating system Containers share a single kernel, that of the hosts' operating system Advantage… to the container as sharing the kernel allows for more efficient operations, e.g. a reduction in the amount of maintenance needed, as only one OS needs to be patched and maintained in a container environment. Containers hold only the application and the dependencies it needs to run so disk footprint is tiny Processes Each VM hosts an operating system, with a full complement of native applications and processes A container runs a single application. Any other processes are children of the default application Advantage… to the container. A single-application system provides agility and a more efficien