Docker for the Absolute Beginner - Hands On - DevOps | Udemy
Docker Overview
Docker allows to run each service with its dependencies in separate containers.
Containers: a completely independent environment that runs on OS kernels
- ex) Linux kernel: allows to run CentOS, Fedora, etc
- Cannot run Windows container on Linux kernel
VM vs Containers
VM | Container |
Uses Hypervisor | Uses container engine |
Multiple OS | Single OS |
Heavy Utilization and Size | Light in size and utilization |
Slow Booting | Fast Booting |
Resources are independent | Resources can be shared |
Containers and VMs can be used together to use the good side of both.
Docker image: template of container
- Like a class in programming
- Can be pushed to the Docker Hub for public availability
- Guarantees the environment runs in the same way everywhere
Docker container: instances of image
- Like objects in programming
Docker can be installed by following the instructions below.
'DevOps > Docker' 카테고리의 다른 글
[Docker 배우기] Section 6. Docker Registry (0) | 2023.12.21 |
---|---|
[Docker 배우기] Section 5. Docker Compose (0) | 2023.12.21 |
[Docker 배우기] Section 4. Docker Images (0) | 2023.12.21 |
[Docker 배우기] Section 3. Docker Run (0) | 2023.12.21 |
[Docker 배우기] Section 2. Docker Commands (0) | 2023.12.20 |