mkdir config
docker pull registry.cn-hangzhou.aliyuncs.com/xuejianchen/aliyun-ddns:v0.0.0.3
docker run -d --name aliyun-ddns --network host -v $PWD/config:/ddns/config registry.cn-hangzhou.aliyuncs.com/xuejianchen/aliyun-ddns:v0.0.0.3
修改配置文件
{
"V4Url": "https://ipv4.ip.mir6.com",
"V6Url": "https://ipv6.ip.mir6.com",
"EndPoint": "https://alidns.cn-hangzhou.aliyuncs.com",
"Interval": 600,
"KeyId": "",
"KeySecret": "",
"Domains": [
{
"DomainName": "",
"V4Enable": true,
"V6Enable": true
}
],
"SubDomains": [
{
"DomainName": "",
"V4Enable": true,
"V6Enable": true
}
]
}