Skip to content

Commit

Permalink
Merge pull request #52 from bayukp/master
Browse files Browse the repository at this point in the history
chore(doc): add restart policy when running docker
  • Loading branch information
sbs20 authored Aug 28, 2020
2 parents ce12af6 + a41eaba commit 282e307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 282e307

Please sign in to comment.