Sign inSign up

mainfrezzer/duckdns

By mainfrezzer

Updated over 1 year ago

DuckDNS Docker from linuxserver/duckdns with IPv6. Supports ipv4 only, dual stack or ipv6 only

Image
Networking
Internet of things
1

1.0K

mainfrezzer/duckdns repository overview

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

Dual-Stack
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
ipv6 only
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
ipv4 only
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

Tag summary

Content type

Image

Digest

sha256:955c6cd84

Size

14.5 MB

Last updated

over 1 year ago

docker pull mainfrezzer/duckdns