DuckDNS Docker from linuxserver/duckdns with IPv6. Supports ipv4 only, dual stack or ipv6 only
1.0K
This is a straight copy from the linuxserver/duckdns Docker image. I modified the /etc/s6-overlay/s6-rc.d/init-duckdns/run file and the /app/duck.sh file to add IPV6 support.
This images adds the enviroment variable "IPV6". Your options are:
"false", for ipv4 only
"dual", for ipv4 and ipv6 support
"only", for ipv6 only
The IP-Addresses are getting fetched from ifconfig.io
If you need to build arm or any other Architecture, you can grab the files here and build it.
https://github.com/Mainfrezzer/docker-duckdns-Dual-Stack-Support
Dont forget, if the container is running on a bridge, it needs ipv6 support. For simplicity sake, you can just run it on the Host
docker run -d \
--net=host \
--name=duckdns \
-e PUID=1000 `#optional` \
-e PGID=1000 `#optional` \
-e TZ=Etc/UTC `#optional` \
-e SUBDOMAINS=subdomain1,subdomain2 \
-e TOKEN=token \
-e LOG_FILE=false `#optional` \
-e IPV6=dual \
-v /path/to/appdata/config:/config `#optional` \
--restart unless-stopped \
mainfrezzer/duckdns:latest
docker run -d \
--net=host \
--name=duckdns \
-e PUID=1000 `#optional` \
-e PGID=1000 `#optional` \
-e TZ=Etc/UTC `#optional` \
-e SUBDOMAINS=subdomain1,subdomain2 \
-e TOKEN=token \
-e LOG_FILE=false `#optional` \
-e IPV6=only \
-v /path/to/appdata/config:/config `#optional` \
--restart unless-stopped \
mainfrezzer/duckdns:latest
docker run -d \
--net=host \
--name=duckdns \
-e PUID=1000 `#optional` \
-e PGID=1000 `#optional` \
-e TZ=Etc/UTC `#optional` \
-e SUBDOMAINS=subdomain1,subdomain2 \
-e TOKEN=token \
-e LOG_FILE=false `#optional` \
-e IPV6=false \
-v /path/to/appdata/config:/config `#optional` \
--restart unless-stopped \
mainfrezzer/duckdns:latest
Content type
Image
Digest
sha256:955c6cd84…
Size
14.5 MB
Last updated
over 1 year ago
docker pull mainfrezzer/duckdns