Skip to content

Commit

Permalink
vault backup: 2024-06-15 16:34:22
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 CLI Commands.md
content/docker/Docker Container Lifecycle.md
content/docker/Docker Lifecycle.md
  • Loading branch information
windsuzu committed Jun 15, 2024
1 parent e9aa70a commit 819135b
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 52 deletions.
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,8 +1,16 @@
{
"recentFiles": [
{
"basename": "Docker Lifecycle",
"path": "docker/Docker Lifecycle.md"
"basename": "Docker Container Lifecycle",
"path": "docker/Docker Container Lifecycle.md"
},
{
"basename": "Docker CLI Commands",
"path": "docker/Docker CLI Commands.md"
},
{
"basename": "Docker Container",
"path": "docker/Docker Container.md"
},
{
"basename": "Docker Image",
Expand All @@ -12,10 +20,6 @@
"basename": "Docker IT flags",
"path": "docker/Docker IT flags.md"
},
{
"basename": "Docker CLI Commands",
"path": "docker/Docker CLI Commands.md"
},
{
"basename": "Docker",
"path": "docker/Docker.md"
Expand All @@ -24,10 +28,6 @@
"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-image",
"path": "attachments/docker-image.png"
Expand Down
40 changes: 14 additions & 26 deletions content/.obsidian/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,7 @@
"state": {
"type": "markdown",
"state": {
"file": "docker/Docker Lifecycle.md",
"mode": "source",
"source": false
}
}
},
{
"id": "6075dafee2bafd19",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "docker/Docker IT flags.md",
"file": "docker/Docker CLI Commands.md",
"mode": "source",
"source": false
}
Expand All @@ -37,13 +25,14 @@
"state": {
"type": "markdown",
"state": {
"file": "docker/Docker Image.md",
"file": "docker/Docker Container Lifecycle.md",
"mode": "source",
"source": false
}
}
}
]
],
"currentTab": 1
}
],
"direction": "vertical"
Expand Down Expand Up @@ -126,7 +115,7 @@
"state": {
"type": "localgraph",
"state": {
"file": "docker/Docker Lifecycle.md",
"file": "docker/Docker Container Lifecycle.md",
"options": {
"collapse-filter": true,
"search": "",
Expand Down Expand Up @@ -176,7 +165,7 @@
"state": {
"type": "outline",
"state": {
"file": "docker/Docker Lifecycle.md"
"file": "docker/Docker Container Lifecycle.md"
}
}
},
Expand Down Expand Up @@ -217,7 +206,7 @@
"state": {
"type": "file-properties",
"state": {
"file": "docker/Docker Lifecycle.md"
"file": "docker/Docker Container Lifecycle.md"
}
}
}
Expand All @@ -234,7 +223,7 @@
"state": {
"type": "outgoing-link",
"state": {
"file": "docker/Docker Lifecycle.md",
"file": "docker/Docker Container Lifecycle.md",
"linksCollapsed": false,
"unlinkedCollapsed": false
}
Expand All @@ -253,7 +242,7 @@
"state": {
"type": "backlink",
"state": {
"file": "docker/Docker Lifecycle.md",
"file": "docker/Docker Container Lifecycle.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
Expand Down Expand Up @@ -283,15 +272,16 @@
"cmdr:Obsidian Git: Create backup": false
}
},
"active": "94dafe9c731fce38",
"active": "720ac84f203cc18f",
"lastOpenFiles": [
"docker/Docker CLI Commands.md",
"docker/Docker Container Lifecycle.md",
"docker/cli-commands",
"docker/Docker Container.md",
"docker/Docker Image.md",
"docker/Docker IT flags.md",
"docker/Docker Lifecycle.md",
"docker/Docker CLI Commands.md",
"docker/Docker.md",
"docker/Install Docker on Windows WSL 2.md",
"docker/Docker Container.md",
"attachments/docker-image.png",
"attachments/docker-container.png",
"attachments/how-docker-works.png",
Expand Down Expand Up @@ -323,13 +313,11 @@
"javascript/Pattern Matching (ts-pattern).md",
"javascript/Imperative and Declarative Programming.md",
"react/Controlled Components.md",
"mocs/Web-Dev MOC.md",
"attachments/event-capturing-and-bubbling.png",
"attachments/Pasted image 20240524152334.png",
"prettier",
"postgresql",
"prisma",
"fish-shell",
"attachments/avatar-jay.jpeg",
"Untitled.canvas"
]
Expand Down
4 changes: 2 additions & 2 deletions content/docker/Docker CLI Commands.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
draft: false
date: 2024-06-14 22:24
date: 2024-06-15 15:41
tags:
- docker
---
Expand Down Expand Up @@ -30,7 +30,7 @@ docker run [options] image_name [command]
## start



## ps
## exec
## stop and kill

Expand Down
18 changes: 18 additions & 0 deletions content/docker/Docker Container Lifecycle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
draft: false
date: 2024-06-15 16:04
tags:
- docker
---

When a Docker container is created with `docker create`, it can be started using `docker start` multiple times (you can also use the `docker run` command to create and start a container simultaneously). The container may run and finish immediately or run for an extended duration, depending on the processes it executes. Once a container has been started and stopped, you can start it again using `docker start` as long as it hasn't been removed.




When container is running, you can stop or kill it. When container is stopped, you can start it again with start or exec command, you can also remove the container from the memory in the local machine using container prune command.



> [!info] References
> - [Docker and Kubernetes: The Complete Guide](https://www.udemy.com/course/docker-and-kubernetes-the-complete-guide)
14 changes: 0 additions & 14 deletions content/docker/Docker Lifecycle.md

This file was deleted.

0 comments on commit 819135b

Please sign in to comment.