https://github.com/Jrohy/multi-v2ray
Docker运行
默认创建mkcp + 随机一种伪装头配置文件:
docker run -d --name v2ray --privileged --restart always --network host jrohy/v2ray
自定义v2ray配置文件:
docker run -d --name v2ray --privileged -v /path/config.json:/etc/v2ray/config.json --restart always --network host jrohy/v2ray
查看v2ray配置:
docker exec v2ray bash -c "v2ray info"
warning: 如果用centos,需要先关闭防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service
Recent Comments