Sign inSign up

pocat/v2ray

By pocat

•Updated 14 days ago

Docker image of V2ray

Image
1

10K+

pocat/v2ray repository overview

⁠Supported Architectures

i386 amd64 arm32v6 arm32v7 arm64v8 ppc64le s390x

⁠Usage explanations
  • Get this image
$ docker pull pocat/v2ray
  • Create a directory
$ mkdir -p /etc/v2ray
  • Modify the configuration
$ cat > /etc/v2ray/config.json <<EOF
{
  "inbounds": [{
    "port": 9000,
    "protocol": "vmess",
    "settings": {
      "clients": [
        {
          "id": "1eb6e917-774b-4a84-aff6-b058577c60a5",
          "level": 1,
          "alterId": 64
        }
      ]
    }
  }],
  "outbounds": [{
    "protocol": "freedom",
    "settings": {}
  }]
}
EOF
  • Start the service
$ docker run --network host --name v2ray -v /etc/v2ray:/etc/v2ray --restart=always -d pocat/v2ray

Tag summary

Content type

Image

Digest

sha256:815607082…

Size

22.3 MB

Last updated

14 days ago

docker pull pocat/v2ray