AdguardTeam/dnsproxy - Simple DNS proxy with DoH, DoT, DoQ and DNSCrypt support
5.1K
Simple DNS proxy with DoH, DoT, DoQ and DNSCrypt support
docker run --name dnsproxy -d -p 153:53/udp -p 853:853 -p 443:443 initdc/dnsproxy
docker run -p 153:53/udp -it initdc/dnsproxy sh
linux
dig mirr.one @127.0.0.1 -p 153
change buildx DRIVER from docker to [ docker-container or kubernetes ]
docker buildx create --name mycontext1 --driver docker-container --use --bootstrap
# or
docker buildx create --name mycontext1 --driver kubernetes --use --bootstrap
refs:
https://salesjobinfo.com/multi-arch-container-images-for-docker-and-kubernetes/
https://github.com/docker/buildx/blob/master/docs/reference/buildx_create.md
local
docker buildx build -t dnsproxy:amd64 . --load
docker buildx build --platform linux/arm64 -t dnsproxy:arm64 . --load
-tfor local tag:name:arch
for pushing
docker buildx build --platform linux/amd64,linux/arm64,linux/riscv64,linux/ppc64le,linux/s390x,linux/386,linux/mips64le,linux/mips64,linux/arm/v7,linux/arm/v6 -t initdc/cloudflared:v$(TZ=Asia/Shanghai date +%Y.%m.%d) . --push
latest->v$(TZ=Asia/Shanghai date +%Y.%m.%d)
replace
initdcwith your docker registry user name.
check full list with
docker buildx ls
Content type
Image
Digest
Size
6.3 MB
Last updated
over 4 years ago
docker pull initdc/dnsproxy