From d1177e781685c69ab858aacc0978203f3a9ff51a Mon Sep 17 00:00:00 2001 From: Mel Date: Fri, 24 Sep 2021 23:56:07 +0100 Subject: [PATCH] docker update --- .obsidian/workspace | 10 +++++----- Networks/Docker config.md | 6 ++++++ 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.obsidian/workspace b/.obsidian/workspace index 0a426251..f70c387f 100644 --- a/.obsidian/workspace +++ b/.obsidian/workspace @@ -9,7 +9,7 @@ "state": { "type": "markdown", "state": { - "file": "Networks/mfxm Website Scope.md", + "file": "Networks/Docker config.md", "mode": "preview" } } @@ -57,7 +57,7 @@ "state": { "type": "backlink", "state": { - "file": "Networks/mfxm Website Scope.md", + "file": "Networks/Docker config.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -73,15 +73,15 @@ }, "active": "843703181669292f", "lastOpenFiles": [ - "Networks/mfxm Website Scope.md", + "Networks/Docker config.md", "Networks/Tools Server.md", + "Networks/mfxm Website Scope.md", "Networks/Monit config.md", "Networks/VPS Console Dialogue.md", "Networks/Alias Server.md", "Life Orga/Finances.md", "Networks/@Networks.md", "Networks/Cloud Server.md", - "Nextcloud.md", - "Networks/Selfhosting.md" + "Nextcloud.md" ] } \ No newline at end of file diff --git a/Networks/Docker config.md b/Networks/Docker config.md index 02aeded2..13d44b0d 100644 --- a/Networks/Docker config.md +++ b/Networks/Docker config.md @@ -198,5 +198,11 @@ Within the 'Env' declaration, add the requested data field: `docker container ls` +  + +#### Execute commands in container + +`docker exec -it -u (username) (command)` +     \ No newline at end of file