Skip to content

mengbo/docker-dnscrypt-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-dnscrypt-wrapper

[DNSCrypt-wrapper][dnscrypt-wrapper] for Docker. [dnscrypt-wrapper]: https://github.com/Cofyc/dnscrypt-wrapper

Image Creation

This example creates the image with the tag mengbo/docker-dnscrypt-wrapper, but you can change this to use your own username.

$ docker build -t="mengbo/docker-dnscrypt-wrapper" .

Alternately, you can run the following if you have make installed...

$ make

You can also specify custom variables by change the Makefile.

You can run it by the following command...

$ docker run --name docker-dnscrypt-wrapper -d -p 443:443 -p 443:443/udp \
	-v /usr/local/share/dnscrypt-wrapper:/usr/local/share/dnscrypt-wrapper \
	-e RESOLVER_ADDRESS="8.8.8.8" -e RESOLVER_PORT="53" -e LISTEN_PORT="443" \
	-e PROVIDER_NAME="2.dnscrypt-cert.yourdomain.com" \
	mengbo/docker-dnscrypt-wrapper

Environment variables

  • RESOLVER_ADDRESS: Upstream dns resolver server address. Default: 8.8.8.8
  • RESOLVER_PORT: Upstream dns resolver server port. Default: 53
  • LISTEN_PORT: Local port to listen. Default: 443
  • PROVIDER_NAME: Provider name. Default: 2.dnscrypt-cert.yourdomain.com

About

DNSCrypt-wrapper for Docker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages