Skip to content

Commit

Permalink
added support for secure DNS on Docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
segura2010 committed Jan 26, 2018
1 parent a8784b0 commit 8dcafd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ RUN make install
RUN cp config_example.json /root/gohole_config.json

EXPOSE 53 53/udp
EXPOSE 443 443/udp

RUN chmod +x docker/init.sh
ENTRYPOINT docker/init.sh
Expand Down
3 changes: 3 additions & 0 deletions docker/init.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/sh
redis-server &
# Generate a new encryption key every time the container starts
gohole -gkey
# Run GoHole
gohole -s -c /root/gohole_config.json

0 comments on commit 8dcafd0

Please sign in to comment.