Skip to content

Commit

Permalink
chore(doc): add restart policy when running docker
Browse files Browse the repository at this point in the history
  • Loading branch information
BP committed Aug 24, 2020
1 parent 6b68bc6 commit a41eaba
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 a41eaba

Please sign in to comment.