docker安装ddns2
sudo docker run -d --name=ddnsto --restart always --network host -e TOKEN=2445405d-68ef-4833-aff9-c4900446422b -e DEVICE_IDX=0 -v /etc/localtime:/etc/localtime:ro -v /mnt/sda1/ddnsto-config:/ddnsto-config -e PUID=0 -e PGID=0 linkease/ddnsto
修改token即可
docker run -d \
--name=ddnsto \
--restart always \
--network host \
-e TOKEN=abcdefg-8888-8888-1111-abcdefghijk \
-e DEVICE_IDX=0 \
-v /etc/localtime:/etc/localtime:ro \
-v /mnt/sda1/ddnsto-config:/ddnsto-config \
-e PUID=0 \
-e PGID=0 \
linkease/ddnsto