generated from jackyzha0/quartz
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Affected files: content/.obsidian/plugins/recent-files-obsidian/data.json content/.obsidian/workspace.json content/attachments/docker-image.png content/docker/Docker CLI Commands.md content/docker/Docker Container.md content/docker/Docker Image.md content/docker/Docker.md
- Loading branch information
Showing
7 changed files
with
70 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
draft: false | ||
date: 2024-06-12 18:19 | ||
tags: | ||
- docker | ||
--- | ||
|
||
```bash | ||
docker run [image_name] | ||
``` | ||
|
||
``` | ||
docker | ||
``` | ||
|
||
|
||
|
||
> [!info] References | ||
> - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
draft: false | ||
date: 2024-06-12 18:31 | ||
tags: | ||
- docker | ||
--- | ||
|
||
A [[Docker]] Image can be thought of as a ==filesystem snapshot with a startup command==. When a [[Docker Container|container]] is created from an image, [[Docker]] first sets up a layered filesystem for the [[docker container|container]] based on the image. | ||
|
||
This filesystem is not loaded entirely into memory but is mounted in a way that the container can access it. [[Docker]] then executes the startup command specified in the image within this filesystem and environment. | ||
|
||
![[docker-image.png]] | ||
|
||
|
||
> [!info] References | ||
> - [Docker and Kubernetes: The Complete Guide](https://www.udemy.com/course/docker-and-kubernetes-the-complete-guide) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters