From 8cc1514f76bb2fcd83048b64fc4958f69e659a9f Mon Sep 17 00:00:00 2001 From: Akashdeep Dhar Date: Sun, 30 May 2021 22:37:14 +0530 Subject: [PATCH] Added restart policy and detach mode --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 71c04351..de3574fc 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,12 @@ dispatch help ### 3. Docker ```bash -docker run -p :80 -p :443 -v :/data khlieng/dispatch +docker run \ + -p :80 \ + -p :443 \ + -v :/data \ + --restart unless-stopped \ + -d khlieng/dispatch ``` ## Build