Use docker image to update duckdns both IPv4 and IPv6 addresses.
297
This is a simple Docker container for running the Duck DNS dynamic DNS update script. It will keep your domain.duckdns.org DNS alias up-to-date as your home IP changes. The script runs every 30 minutes.
Both IPv4 and IPv6 are supported.
This docker image is available as a trusted build on the docker index.
Run:
Original repository
sudo docker run --name=duckdns -d -v /etc/localtime:/etc/localtime -v /config/dir/path:/config coppit/duckdns
sudo docker run --name=duckdns -d -v /etc/localtime:/etc/localtime -v /config/dir/path:/config davebv/docker-duckdns
When run for the first time, a file named duck.conf will be created in the config dir, and the container will exit. Edit this file, adding your domain and token. Then rerun the command.
If you prefer to set environment variables for your docker container instead of using the configuration file, simply comment out the vars in the duck.conf. Note that the file needs to exist, or the container will recreate it.
To check the status, run docker logs duckdns.
By default IPv6 is not enabled. In order to enable it, uncomment the line in duck.conf to enable IPv6
IPV6=yes
IPv6 support by davebv.
Original image can be found here: https://hub.docker.com/r/coppit/duckdns/
Content type
Image
Digest
Size
106.8 MB
Last updated
over 9 years ago
docker pull davebv/docker-duckdns