配置文件放在宿主机/etc/xray/目录下,运行以下命令
docker run -d \ --name xray \ --restart=unless-stopped \ -v /etc/xray/config.json:/config.json \ -p 10808:10808 \ ghcr.io/xtls/xray-core:latest \ run -c /config.json验证代理是否启用
curl -x 127.0.0.1 ip.sb深耕郑州网站建设与运营推广的一线实战洞察。
配置文件放在宿主机/etc/xray/目录下,运行以下命令
docker run -d \ --name xray \ --restart=unless-stopped \ -v /etc/xray/config.json:/config.json \ -p 10808:10808 \ ghcr.io/xtls/xray-core:latest \ run -c /config.json验证代理是否启用
curl -x 127.0.0.1 ip.sb