dnsproxy icon indicating copy to clipboard operation
dnsproxy copied to clipboard

Official docker image

Open BigmenPixel0 opened this issue 3 years ago • 6 comments

It would be nice if there was an official docker image.

BigmenPixel0 avatar Feb 19 '22 11:02 BigmenPixel0

#205

Potterli20 avatar Feb 19 '22 16:02 Potterli20

Let's keep this one open since it's in English.

Generally, it's of course possible to have an official docker image, it'd just take a day of work. If anyone would like to contribute a Dockerfile, please check out how we build it in AdGuard Home: https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/build-docker.sh

ameshkov avatar Feb 20 '22 09:02 ameshkov

Let's keep this one open since it's in English.

Generally, it's of course possible to have an official docker image, it'd just take a day of work. If anyone would like to contribute a Dockerfile, please check out how we build it in AdGuard Home: https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/build-docker.sh

But the systemctl problem is unsolved

Potterli20 avatar Feb 20 '22 10:02 Potterli20

Not official but I've been maintaining my own Docker container for some time now. https://hub.docker.com/r/vmstan/dnsproxy

It is based on Alpine and supports amd64, arm64v8, arm/v6, arm/v7. My configuration is the built in config.xml and fairly simple, but it can be configured to do more.

vmstan avatar Apr 15 '22 15:04 vmstan

Is it possible that a simple Dockerfile can be acceptable at first? I can send a pull request for it if that's good enough.

PeterDaveHello avatar Jul 16 '22 10:07 PeterDaveHello

Thanks chiming in, @PeterDaveHello . There is an ongoing PR at #228 if you feel like to help.

pataquets avatar Jul 16 '22 15:07 pataquets

https://hub.docker.com/r/adguard/dnsproxy

docker run --rm -p 53:53/udp -p 53:53/tcp adguard/dnsproxy -u 8.8.8.8 -v

ameshkov avatar Jul 25 '23 14:07 ameshkov

https://hub.docker.com/r/adguard/dnsproxy

docker run --rm -p 53:53/udp -p 53:53/tcp adguard/dnsproxy -u 8.8.8.8 -v

How do I configure a file? Can dnsproxy add full config options?

Potterli20 avatar Jul 25 '23 14:07 Potterli20

You basically use it the same way as the original binary:

docker run --rm -p 53:53/udp -p 53:53/tcp adguard/dnsproxy -c config.yml

ameshkov avatar Jul 25 '23 14:07 ameshkov