Added restart policy and detach mode

This commit is contained in:
Akashdeep Dhar 2021-05-30 22:37:14 +05:30
parent 721492cae2
commit 8cc1514f76

View File

@ -46,7 +46,12 @@ dispatch help
### 3. Docker
```bash
docker run -p <http port>:80 -p <https port>:443 -v <path>:/data khlieng/dispatch
docker run \
-p <http port>:80 \
-p <https port>:443 \
-v <path>:/data \
--restart unless-stopped \
-d khlieng/dispatch
```
## Build