From a41eabae829347fa82c5b324709ca3bab382208f Mon Sep 17 00:00:00 2001 From: BP Date: Mon, 24 Aug 2020 23:54:51 +0700 Subject: [PATCH] chore(doc): add restart policy when running docker --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 99c50475..1255ce0a 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ For an easy docker-based install (assuming that SANE supports your scanner out-o ```console $ docker build -t scanservjs . -$ docker run -p 8080:8080 --name scanservjs --privileged scanservjs +$ docker run -p 8080:8080 --restart unless-stopped --name scanservjs --privileged scanservjs ``` (`--privileged` is required for the container to access the host's devices, to allow it to talk to the scanner)