The Ultimate Docker Course

買了Mosh的這堂課,來記一下筆記心得。持續更新中…

The Ultimate Docker Course (codewithmosh.com)
他說上課最好做筆記,然後要跟著玩那些指令。

Docker is a platform for building, running, and shipping applications.

有docker,就不用煩惱專案的Node.js用什麼版本,還有一堆套件環境什麼的…

Hypervisor 幫我們做 virtual machine
Hypervisor is software we use to create and manage virtual machines.

有各種的Hypervisor

Containers
.Allow running multiple apps in isolation
.Are lightweight, they don’t need a full operate system
.Use OS of the host
.Start quickly
.Need less hardware resources

Docker uses a client server architecture.
So it has a client component that talks to a server component using a RESTful API.
The server, also called the docker engine, sits in the background and takes care of building and running Docker containers.

Container is just a process, like other processes running on your computer.

All these containers share the kernel of the host.
kernel is the core of an operating system.

Windows 10 is now shipped with a custom built Linux kernel.