From 36366499edc95f993bb38d34f2107a5a3192c1a7 Mon Sep 17 00:00:00 2001 From: Josh Creek Date: Sat, 21 Nov 2020 15:08:57 +0000 Subject: [PATCH] feat(*): Add manual update instructions to readme --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c7eea74..448d08a 100644 --- a/README.md +++ b/README.md @@ -35,12 +35,24 @@ For a sanity check, you can run `docker images` and it should be displayed in th ## Running the Docker container -Running the bot with -d runs the container in detatched mode (as in it runs in the background). If you want to see what is happening, remove that option. +Running the bot with --detach runs the container in detatched mode (as in it runs in the background). If you want to see what is happening, remove that option. -`docker run -d denbot` +`docker run --detach --name denbot denbot` You can use CTRL+C to exit out of this command window. If you're using Windows, Docker Desktop will now show your bot under 'Containers/Apps', from where you can easily stop and start it using the GUI. +## Updating + +If doing it manually, in the folder with all the files run: + +``` +docker stop denbot +docker rm denbot +docker image rm denbot +docker build -t denbot . +docker run --detach --name denbot denbot +``` + ### More information If you want more of a sanity check here are some following commands you can run the following commands: