Update Docker Guide.md

This commit is contained in:
Poag 2017-01-11 12:50:39 +00:00 committed by GitHub
parent 394dc48a56
commit 07c0018479

View File

@ -30,7 +30,7 @@ After a few moments you should be able to invite Nadeko to your server. If you c
## Updates
* Manual
# Manual
Updates are handled by pulling the new layer of the Docker Container which contains a pre compiled update to Nadeko.
The following commands are required for the default options
1. ```docker pull uirel/nadeko:latest```
@ -38,7 +38,7 @@ The following commands are required for the default options
3. ```docker create --name=nadeko -v /nadeko/data:/opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.0/data -v /nadeko/credentials.json:/opt/NadekoBot/src/NadekoBot/credentials.json uirel/nadeko```
4. ```docker start nadeko```
* Automatic Updates
# Automatic Updates
Automatic update are now handled by watchertower https://github.com/CenturyLinkLabs/watchtower
To setup watchtower to keep Nadeko up-to-date for you with the default settings use the following command
```docker run -d --name watchtower -v /var/run/docker.sock:/var/run/docker.sock centurylink/watchtower --cleanup nadeko```