Update Docker Guide.md

This commit is contained in:
Poag 2017-06-28 10:13:10 +01:00 committed by GitHub
parent 5fc9c18d98
commit d7a0168fc5

View File

@ -8,7 +8,7 @@ Follow the respective guide for your operating system found here [Docker Engine
For this guide we will be using the folder /nadeko as our config root folder. For this guide we will be using the folder /nadeko as our config root folder.
```bash ```bash
docker create --name=nadeko -v /nadeko/:/root/nadeko uirel/nadeko:1.4 docker create --name=nadeko -v /nadeko/conf/:/root/nadeko -v /nadeko/data:/opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.1/data uirel/nadeko:1.4
``` ```
-If you are coming from a previous version of nadeko (the old docker) make sure your crednetials.json has been copied into this directory and is the only thing in this folder. -If you are coming from a previous version of nadeko (the old docker) make sure your crednetials.json has been copied into this directory and is the only thing in this folder.
@ -37,7 +37,9 @@ The following commands are required for the default options
`docker stop nadeko; docker rm nadeko` `docker stop nadeko; docker rm nadeko`
`docker create --name=nadeko -v /nadeko/:/root/nadeko uirel/nadeko:1.4` ```
docker create --name=nadeko -v /nadeko/conf/:/root/nadeko -v /nadeko/data:/opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.1/data uirel/nadeko:1.4
```
`docker start nadeko` `docker start nadeko`