Added restart policy and detach mode
This commit is contained in:
parent
721492cae2
commit
8cc1514f76
@ -46,7 +46,12 @@ dispatch help
|
|||||||
### 3. Docker
|
### 3. Docker
|
||||||
|
|
||||||
```bash
|
```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
|
## Build
|
||||||
|
Loading…
Reference in New Issue
Block a user