Clarify README docker instructions

This commit is contained in:
Oskar Winkels 2020-12-07 18:16:03 +01:00
parent 4140799e50
commit e8a11ecd95
1 changed files with 7 additions and 6 deletions

View File

@ -45,8 +45,8 @@ sudo docker build . -t fasttube/ftracker
``` ```
Then, if you want the container to also handle SSL so it can run standalone you Then, if you want the container to also handle SSL so it can run standalone you
need to pass it a domain and Email so it can obtain a certificate from `Let's need to pass it a domain and email so it can obtain a certificate from `Let's
encrypt`: encrypt`. Use the first path in the `-v` option to point to your config file:
```bash ```bash
sudo docker run \ sudo docker run \
@ -72,14 +72,15 @@ sudo docker run \
fasttube/ftracker fasttube/ftracker
``` ```
If those work in the foreground and averything looks okay, you can start them If those work in the foreground and everything looks okay, you can start them
without `-it --rm` and with `-d` instead to run them in the background. without `-it --rm` and with `-d` instead to run them in the background. Keep in
mind that it can take around 10 seconds to fully start.
To stop/start/uninstall the container afterwards, run: To stop/start/uninstall the container afterwards, run:
```bash ```bash
docker stop ftracker # might take up to 10 seconds docker stop ftracker # might take a few seconds
docker start ftracker # continue runniing docker start ftracker # continue running
docker rm -f ftracker # uninstall docker rm -f ftracker # uninstall
``` ```