centos7环境 docker 启动失败

41 views
Skip to first unread message

Xiaoqi Cheng

unread,
Nov 25, 2019, 9:54:58 AM11/25/19
to go-gost
启动脚本如下:


DOMAIN="xxxx.xyz"
USER="user1"
PASS="031009"
PORT=443

BIND_IP=0.0.0.0
CERT_DIR=/etc/letsencrypt
CERT=${CERT_DIR}/live/${DOMAIN}/fullchain.pem
KEY=${CERT_DIR}/live/${DOMAIN}/privkey.pem


sudo docker run -d --name gost \
    -v ${CERT_DIR}:${CERT_DIR}:ro \
    --net=host ginuerzh/gost \
    -L "http2://${USER}:${PASS}@${BIND_IP}:${PORT}?cert=${CERT}&key=${KEY}&probe_resist=code:404"
Reply all
Reply to author
Forward
0 new messages