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/cmdr/data.json content/.obsidian/plugins/recent-files-obsidian/data.json content/.obsidian/workspace.json content/attachments/docker-container.png content/docker/Docker Container.md
- Loading branch information
Showing
5 changed files
with
34 additions
and
24 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
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 |
---|---|---|
@@ -1,12 +1,16 @@ | ||
--- | ||
draft: false | ||
date: 2024-06-11 17:28 | ||
date: 2024-06-11 18:45 | ||
tags: | ||
- docker | ||
--- | ||
|
||
![[docker-container.png]] | ||
|
||
A [[Docker]] container is a process or a set of processes with isolated resources that are logically (not physically) allocated from the hard drive by the kernel using `namespacing` and `cgroups`. | ||
|
||
- `namespacing` is an OS feature that segments hardware resources for specific processes. For example, creating separate segments on the hard drive for Python 2 and Python 3, and directing system calls to the appropriate segment based on which application is making the call. | ||
- `cgroups` (Control Groups) limit the amount of resources (CPU, memory, network bandwidth) a process can use. | ||
|
||
> [!info] References | ||
> - [Docker and Kubernetes: The Complete Guide](https://www.udemy.com/course/docker-and-kubernetes-the-complete-guide) |