docker run -it --rm ubuntu18.04
apt update && apt install -y curl proxychains vim wget cron
# 修改/etc/proxychains.conf
socks5 192.168.0.105 1080
# 安装acme.sh
cd && proxychains curl -o acme.sh https://get.acme.sh
sh acme.sh email=my@example.com
# 如果不需要proxychains
# curl https://get.acme.sh | sh -s email=my@example.com
./.acme.sh/acme.sh --issue --dns -d mydomain.com --yes-I-know-dns-manual-mode-enough-go-ahead-please
按照提示增加“TXT”域名解析记录
./.acme.sh/acme.sh --renew --dns -d mydomain.com --yes-I-know-dns-manual-mode-enough-go-ahead-please