Minimal Docker Image for ddns-go.
Version: v6.7.6
English | 简体中文
The Official Image is based on alpine and will not be changed due to the requirements for debugging, getting IP by command, etc. (for more infomation, see jeessy2/ddns-go#340)
Therefore, a minimal image based on scratch has been created, containing only ddns-go, the timezone and certificates.
If you need the minimum image size and don't have the above requirements, you can try this image.
-
Mount the host directory, use the docker host mode. You can replace
/opt/ddns-go
with any directory on your host, the configuration file is a hidden filedocker run -d --name ddns-go --restart=always --net=host -v /opt/ddns-go:/root waterlemons2k/ddns-go
-
Open
http://DOCKER_IP:9876
in the browser, modify your configuration -
[Optional] Support startup with parameters
-l
listen address-f
Sync frequency(seconds)docker run -d --name ddns-go --restart=always --net=host -v /opt/ddns-go:/root waterlemons2k/ddns-go -l :9877 -f 600
-
[Optional] Without using docker host mode
docker run -d --name ddns-go --restart=always -p 9876:9876 -v /opt/ddns-go:/root waterlemons2k/ddns-go