Skip to content

Commit bdcd472

Browse files
authored
Create README.md
1 parent 732b363 commit bdcd472

File tree

1 file changed

+18
-0
lines changed
  • workshop/dockerdesktop/mac/architecture

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
![Untitled-2022-07-04-2005](https://user-images.githubusercontent.com/313480/212122319-d6cbd117-35e3-4ee6-a452-f9d7d5b2c702.png)
2+
3+
4+
- Docker uses containerd under the hood to run containers
5+
- Containerd is a container runtime that manages the lifecycle of a container on a physical or virtual machine (a host)
6+
- It manages the complete container lifecycle of its host system!
7+
- This includes pulling and pushing images as well as handling the starting and stopping of containers.
8+
9+
10+
```
11+
$ docker run --name web -p 80:80 -d nginx
12+
```
13+
14+
- Docker CLI understands what we want to do, and then sends instructions to containerd.
15+
- containerd does its magic, downloads the nginx image if it's not available.
16+
- Next, containerd tells runc to start this container
17+
- And we finally get our result: nginx running in a little isolated container box.
18+

0 commit comments

Comments
 (0)