Skip to content

Commit

Permalink
vault backup: 2024-06-25 15:28:43
Browse files Browse the repository at this point in the history
Affected files:
content/.obsidian/plugins/recent-files-obsidian/data.json
content/.obsidian/workspace.json
content/docker/Docker.md
  • Loading branch information
windsuzu committed Jun 25, 2024
1 parent df7901b commit b40cdfe
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions content/.obsidian/plugins/recent-files-obsidian/data.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"recentFiles": [
{
"basename": "Docker Image",
"path": "docker/Docker Image.md"
},
{
"basename": "Docker",
"path": "docker/Docker.md"
Expand Down Expand Up @@ -48,10 +52,6 @@
"basename": "docker stop, kill",
"path": "docker/cli-commands/docker stop, kill.md"
},
{
"basename": "Docker Image",
"path": "docker/Docker Image.md"
},
{
"basename": "docker-container-lifecycle",
"path": "attachments/docker-container-lifecycle.png"
Expand Down
16 changes: 8 additions & 8 deletions content/.obsidian/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"state": {
"type": "markdown",
"state": {
"file": "docker/Docker.md",
"file": "docker/Docker Image.md",
"mode": "source",
"source": false
}
Expand Down Expand Up @@ -102,7 +102,7 @@
"state": {
"type": "localgraph",
"state": {
"file": "docker/Docker.md",
"file": "docker/Docker Image.md",
"options": {
"collapse-filter": true,
"search": "",
Expand Down Expand Up @@ -152,7 +152,7 @@
"state": {
"type": "outline",
"state": {
"file": "docker/Docker.md"
"file": "docker/Docker Image.md"
}
}
},
Expand Down Expand Up @@ -193,7 +193,7 @@
"state": {
"type": "file-properties",
"state": {
"file": "docker/Docker.md"
"file": "docker/Docker Image.md"
}
}
}
Expand All @@ -210,7 +210,7 @@
"state": {
"type": "outgoing-link",
"state": {
"file": "docker/Docker.md",
"file": "docker/Docker Image.md",
"linksCollapsed": false,
"unlinkedCollapsed": false
}
Expand All @@ -229,7 +229,7 @@
"state": {
"type": "backlink",
"state": {
"file": "docker/Docker.md",
"file": "docker/Docker Image.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
Expand Down Expand Up @@ -261,8 +261,9 @@
},
"active": "94dafe9c731fce38",
"lastOpenFiles": [
"docker/Docker Container.md",
"docker/Docker.md",
"docker/Docker Image.md",
"docker/Docker Container.md",
"docker/cli-commands/Docker -it flags.md",
"docker/cli-commands/docker container prune.md",
"docker/Docker Container Lifecycle.md",
Expand All @@ -273,7 +274,6 @@
"docker/cli-commands/docker logs.md",
"attachments/docker-exec-redis.png",
"docker/cli-commands/docker stop, kill.md",
"docker/Docker Image.md",
"docker/Docker CLI Commands.md",
"attachments/docker-container-lifecycle.png",
"docker/cli-commands",
Expand Down
4 changes: 2 additions & 2 deletions content/docker/Docker.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
draft: false
date: 2024-06-24 18:17
date: 2024-06-24 23:33
tags:
- docker
---
Expand All @@ -9,7 +9,7 @@ Docker is an ecosystem comprising the Docker Client (CLI), Docker Daemon (Server

![[how-docker-works.png]]

When you run `docker run hello-world` for the first time, the Docker Client asks the Docker Server to run this command. The Docker Server first looks for the `hello-world` [[Docker image|image]] in the **image cache** on your machine. If there's no such image on your machine, it then pulls it from the Docker Hub over the Internet and caches it. Finally, the Docker server takes the image, loads it into memory, creates a [[Docker Container|container]] from it, and runs the program inside it.
When you run `docker run hello-world` for the first time, the Docker Client asks the Docker Server to run this command. The Docker Server first looks for the `hello-world` [[Docker Image|image]] in the **image cache** on your machine. If there's no such image on your machine, it then pulls it from the Docker Hub over the Internet and caches it. Finally, the Docker server takes the image, loads it into memory, creates a [[Docker Container|container]] from it, and runs the program inside it.


> [!info] References
Expand Down

0 comments on commit b40cdfe

Please sign in to comment.