Install ddclient into a Linux container
Several tags are available:
- latest: see alpine
- alpine: Dockerfile_alpine
DDclient is a Perl client used to update dynamic DNS entries for accounts on Dynamic DNS Network Service Provider. It has the capability to update more than just dyndns and it can fetch your WAN-ipaddress in a few different ways.
https://sourceforge.net/p/ddclient/wiki/Home/
docker create --name=ddclient \
-v <path to ddclient.conf>:/etc/ddclient/ddclient.conf \
-e UID=<UID default:12345> \
-e GID=<GID default:12345> \
-e AUTOUPGRADE=<0|1 default:0> \
-e TZ=<timezone default:Europe/Brussels> \
-e DOCKMAIL=<mail address> \
-e DOCKRELAY=<smtp relay> \
-e DOCKMAILDOMAIN=<originating mail domain> \
digrouz/ddclient
When you start the ddclient
image, you can adjust the configuration of the ddclient
instance by passing one or more environment variables on the docker run
command line.
This variable is not mandatory and specifies the user id that will be set to run the application. It has default value 12345
.
This variable is not mandatory and specifies the group id that will be set to run the application. It has default value 12345
.
This variable is not mandatory and specifies if the container has to launch software update at startup or not. Valid values are 0
and 1
. It has default value 0
.
This variable is not mandatory and specifies the timezone to be configured within the container. It has default value Europe/Brussels
.
This variable is not mandatory and specifies the smtp relay that will be used to send email. Do not specify any if mail notifications are not required.
This variable is not mandatory and specifies the mail that has to be used to send email. Do not specify any if mail notifications are not required.
This variable is not mandatory and specifies the address where the mail appears to come from for user authentication. Do not specify any if mail notifications are not required.
- This container is built using s6-overlay
- The docker entrypoint can upgrade operating system at each startup. To enable this feature, just add
-e AUTOUPGRADE=1
at container creation.
If you encounter an issue please open a ticket at github