Skip to content

Commit

Permalink
vault backup: 2024-06-11 19:15:48
Browse files Browse the repository at this point in the history
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
windsuzu committed Jun 11, 2024
1 parent 380a652 commit 618c8fd
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 24 deletions.
9 changes: 8 additions & 1 deletion content/.obsidian/plugins/cmdr/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@
"rightRibbon": [],
"titleBar": [],
"statusBar": [],
"pageHeader": [],
"pageHeader": [
{
"id": "file-explorer:reveal-active-file",
"icon": "lucide-navigation",
"name": "Files: Reveal current file in navigation",
"mode": "any"
}
],
"macros": [],
"explorer": [],
"hide": {
Expand Down
20 changes: 10 additions & 10 deletions content/.obsidian/plugins/recent-files-obsidian/data.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
{
"recentFiles": [
{
"basename": "Docker",
"path": "docker/Docker.md"
},
{
"basename": "Install Docker on Windows WSL 2",
"path": "docker/Install Docker on Windows WSL 2.md"
},
{
"basename": "Docker Container",
"path": "docker/Docker Container.md"
},
{
"basename": "Docker",
"path": "docker/Docker.md"
"basename": "docker-container",
"path": "attachments/docker-container.png"
},
{
"basename": "how-docker-works",
"path": "attachments/how-docker-works.png"
},
{
"basename": "Install Docker on Windows WSL 2",
"path": "docker/Install Docker on Windows WSL 2.md"
},
{
"basename": "Full Route Cache",
"path": "react/next-cache/Full Route Cache.md"
Expand Down Expand Up @@ -195,10 +199,6 @@
{
"basename": "PostgreSQL Select",
"path": "postgresql/PostgreSQL Select.md"
},
{
"basename": "PostgreSQL Sequence and UUID",
"path": "postgresql/PostgreSQL Sequence and UUID.md"
}
],
"omittedPaths": [],
Expand Down
23 changes: 11 additions & 12 deletions content/.obsidian/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"state": {
"type": "markdown",
"state": {
"file": "docker/Docker Container.md",
"file": "docker/Docker.md",
"mode": "source",
"source": false
}
Expand Down Expand Up @@ -107,15 +107,15 @@
{
"id": "4954756cba5b7ade",
"type": "tabs",
"dimension": 23.71732817037754,
"dimension": 19.36108422071636,
"children": [
{
"id": "3d50214808998e0a",
"type": "leaf",
"state": {
"type": "localgraph",
"state": {
"file": "docker/Docker Container.md",
"file": "docker/Docker.md",
"options": {
"collapse-filter": true,
"search": "",
Expand Down Expand Up @@ -165,7 +165,7 @@
"state": {
"type": "outline",
"state": {
"file": "docker/Docker Container.md"
"file": "docker/Docker.md"
}
}
},
Expand Down Expand Up @@ -206,7 +206,7 @@
"state": {
"type": "file-properties",
"state": {
"file": "docker/Docker Container.md"
"file": "docker/Docker.md"
}
}
}
Expand All @@ -215,15 +215,15 @@
{
"id": "664c38c8bd525c44",
"type": "tabs",
"dimension": 30.300096805421106,
"dimension": 19.36108422071636,
"children": [
{
"id": "94751ef195017213",
"type": "leaf",
"state": {
"type": "outgoing-link",
"state": {
"file": "docker/Docker Container.md",
"file": "docker/Docker.md",
"linksCollapsed": false,
"unlinkedCollapsed": false
}
Expand All @@ -234,15 +234,15 @@
{
"id": "ac5e343256989119",
"type": "tabs",
"dimension": 26.621490803484992,
"dimension": 41.91674733785092,
"children": [
{
"id": "d73c6d045a2bcd47",
"type": "leaf",
"state": {
"type": "backlink",
"state": {
"file": "docker/Docker Container.md",
"file": "docker/Docker.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
Expand Down Expand Up @@ -274,10 +274,11 @@
},
"active": "51af5d0db36e132f",
"lastOpenFiles": [
"docker/Install Docker on Windows WSL 2.md",
"docker/Docker.md",
"docker/Docker Container.md",
"attachments/docker-container.png",
"attachments/how-docker-works.png",
"docker/Install Docker on Windows WSL 2.md",
"react/next-cache/Full Route Cache.md",
"docker",
"mocs/React MOC.md",
Expand Down Expand Up @@ -313,13 +314,11 @@
"attachments/Pasted image 20240524152334.png",
"prettier/Prettier.md",
"prettier",
"fish-shell/Fish Shell.md",
"postgresql",
"prisma",
"fish-shell",
"attachments/avatar-jay.jpeg",
"attachments/prepositions-of-place.png",
"attachments/prepositions-of-time.png",
"Untitled.canvas"
]
}
Binary file added content/attachments/docker-container.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion content/docker/Docker Container.md
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)

0 comments on commit 618c8fd

Please sign in to comment.