加速源/docker.nju.edu.cn/linuxserver/smokeping:unraid
smokeping:unraid很重要 很重要 很重要
进入内部执行
#更换国内源 sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories #修改时区 apk add -U tzdata && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" > /etc/timezone && date -R
2023.11.21
源 docker.nju.edu.cn/linuxserver/smokeping
添加变量
名称: 时区 键: TZ 值: Asia/Shanghai
切到
额外参数设置dns
--dns 192.168.1.1
2024 完整命令
docker run -d --name='smokeping' --net='br0' --ip='192.168.*.*' -e TZ="Asia/Shanghai" -e HOST_OS="Unraid" -e HOST_HOSTNAME="****" -e HOST_CONTAINERNAME="smokeping" -e 'TCP_PORT_80'='80' -e 'TZ'='Asia/Shanghai' -e 'PUID'='99' -e 'PGID'='100' -e 'UMASK'='022' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:80]/smokeping/smokeping.cgi' -l net.unraid.docker.icon='https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/smokeping-logo.png' -v '/mnt/disks/WD_Elements_25A3/smokeping/data':'/data':'rw' -v '/mnt/disks/WD_Elements_25A3/smokeping/config':'/config':'rw' --dns 192.168.86.220 'docker.nju.edu.cn/linuxserver/smokeping'