Get Started. It's Free
or sign up with your email address
Docker by Mind Map: Docker

1. What is Docker?

1.1. Light-weight Virtual Machines

1.1.1. Virtual Machines require more resources

1.1.2. Docker uses container technology

1.2. Container Technology

1.2.1. Based on Linux Isolation Technologies chroot Allows you to change the root directory for process Linux Namespaces Process Isolation File isolation Network Isolation I/O Isolation

1.3. Cross-Platform

1.3.1. Works on Linux Windows Windows 10 Enterprise with Hypervisor Virtual Machine Windows Server 2016 as native container support Use Docker for Windows Mac Use Docker for Mac Uses VirtualBox for its underlying server, Linux.

1.4. Makes the following works easier

1.4.1. Deployment

1.4.2. Testing

1.4.3. Sandboxing

1.4.4. Sharing

1.4.5. Installing

1.4.6. Distributing

2. Server/Client  Architecture

2.1. Client

2.1.1. The CLI that interacts with Docker Engine using REST API that wraps the server.

2.2. Server

2.2.1. Where the docker daemon is working.


2.3.1. Exposes public functionality that server provides to the client.

2.4. Client/Server means...

2.4.1. You can have multiple servers and clients

2.4.2. It is where Docker Machine comes into play

2.5. Docker Swarm

3. Building Blocks

3.1. Images

3.1.1. What is an Image?

3.1.2. You can ... build new images based on ... Existing images From scratch Share images on Docker Hub/Store docker pull docker push create containers from images. remove images.

3.1.3. Image Building Where to store image building commands? Dockerfile How to run image building process? "docker build" command. How images are built? Layered File System Can use existing images as a base? Yes!

3.2. Containers

4. Docker Toolbox

4.1. Docker Machine

4.1.1. Let's you install docker engine on virtual hosts Virtual Host? On Windows and Mac, Docker does not work natively, as these operating systems don't have native container support. Therefore, Docker installs a Linux virtual host for it to run on. So the containers will run on this native host within Docker environment. On Linux, we don't need virtual hosts, since the host system will be the Linux operating system itself. Docker uses LXC (Linux Containers).

4.1.2. No need for Docker Machine for Linux. It is required for Windows and Mac computers.

4.1.3. Replaced by Docker for Windows and Docker for Mac. They use different virtualization technology Docker Machine uses Docker for Mac Docker for Windows

4.2. Docker Compose

4.2.1. Compose and run multiple containers

4.2.2. Uses YML as the configuration bootstrapper

4.3. Docker Engine

4.4. Kitematic

4.4.1. A GUI application that allows an easy management of docker containers and images.