docker pull v2ray/official
docker run -d –name v2ray -v /home/guoshuang/v2ray:/etc/v2ray -p 8888:8888 –restart=always v2ray/official v2ray -config=/etc/v2ray/config.json
获取 uuid
{
  “inbound”: {
    “port”: 8888,
    “protocol”: “vmess”,
    “settings”: {
      “clients”: [
        {
          “id”: “自己生成的uuid”,
          “alterId”: 64
        }
      ]
    }
  },
  “outbound”: {
    “protocol”: “freedom”,
    “settings”: {}
  }
}
客户端
mac
https://github.com/Cenmrev/V2RayX
win
https://github.com/Cenmrev/V2RayW
全部