Skip to content

Commit

Permalink
README.md / docker-compose.yml add note about DNS and RO, fix dperson…
Browse files Browse the repository at this point in the history
  • Loading branch information
David Personette committed May 14, 2020
1 parent 65fccd3 commit b51181d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ ENVIRONMENT VARIABLES
**NOTE**: optionally supports additional variables starting with the same name,
IE `VPNPORT` also will work for `VPNPORT_2`, `VPNPORT_3`... `VPNPORT_x`, etc.

**NOTE2**: if you are using `-d` or `DNS` and set the container as read-only,
you will get errors as it tries to write to `/etc/resolv.conf`, the 2 are
incompatible.

## Examples

Any of the commands can be run at creation with `docker run` or later with
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ services:
TZ: 'EST5EDT'
networks:
- default
# if using '-d' or 'DNS' you can't enable the `read_only: true` option
read_only: true
tmpfs:
- /run
Expand Down

0 comments on commit b51181d

Please sign in to comment.