HUB
Sign inSign up
v2ray logo

teddysun/v2ray

By teddysun

•Updated 7 days ago

V2Ray Docker Image by Teddysun

Image
Networking
387

10M+

teddysun/v2ray repository overview

⁠V2Ray Docker Image by Teddysun

v2ray

V2Ray⁠ is a platform for building proxies to bypass network restrictions.

It secures your network connections and thus protects your privacy.

Docker images are built for quick deployment in various computing cloud providers.

For more information on docker and containerization technologies, refer to official document⁠.

  • latest, 5.52.0 (Dockerfile)⁠
  • 5.51.2, 5.49.0, 5.48.0, 5.47.0, 5.46.0
  • 5.45.1, 5.44.1, 5.44.0, 5.43.0, 5.42.0, 5.41.0, 5.40.0, 5.39.0, 5.38.0, 5.37.0, 5.36.0, 5.35.0
  • 5.34.0, 5.33.0, 5.31.0, 5.30.0, 5.29.3, 5.29.2, 5.29.1, 5.29.0, 5.28.0, 5.27.0, 5.26.0, 5.25.1, 5.25.0
  • 5.24.0, 5.23.0, 5.22.0, 5.20.0, 5.19.0, 5.18.0, 5.17.0, 5.16.1, 5.15.3, 5.15.1, 5.15.0, 5.14.1, 5.13.0, 5.12.1, 5.12.0
  • 5.11.0, 5.10.1, 5.10.0, 5.9.0, 5.8.0, 5.7.0, 5.5.0, 5.4.1, 5.4.0, 5.3.0, 5.2.1, 5.2.0, 5.1.0, 5.0.8, 5.0.7, 5.0.6, 5.0.5, 5.0.4, 5.0.3, 5.0.2, 5.0.1
  • 4.45.2, 4.45.0
  • 4.44.0
  • 4.43.0
  • 4.42.2, 4.42.1
  • 4.41.1, 4.41.0
  • 4.40.1, 4.40.0
  • 4.39.2, 4.39.1, 4.39.0
  • 4.38.3, 4.38.2, 4.38.1, 4.38.0
  • 4.37.3, 4.37.2, 4.37.1, 4.37.0
  • 4.36.2, 4.36.0
  • 4.35.1, 4.35.0
  • 4.34.0
  • 4.33.0
  • 4.32.1, 4.32.0
  • 4.31.3, 4.31.2, 4.31.1, 4.31.0
  • 4.30.0
  • 4.29.0
  • 4.28.2, 4.28.1, 4.28.0
  • 4.27.5, 4.27.4, 4.27.2, 4.27.0
  • 4.26.0
  • 4.25.1, 4.25.0
  • 4.24.2
  • 4.23.4, 4.23.3, 4.23.2, 4.23.1, 4.23.0
  • 4.22.1
⁠Reference
  • Supported architectures (more info⁠): amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x

⁠Prepare the host

If you need to install docker by yourself, follow the official installation guide⁠.

⁠Pull the image

$ docker pull teddysun/v2ray

This pulls the latest release of V2Ray.

It can be found at Docker Hub⁠.

⁠Start a container

You must create a configuration file /etc/v2ray/config.json in host at first:

$ mkdir -p /etc/v2ray

A sample in JSON like below:

$ cat > /etc/v2ray/config.json <<EOF
{
  "inbounds": [{
    "port": 9000,
    "protocol": "vmess",
    "settings": {
      "clients": [
        {
          "id": "11c2a696-0366-4524-b8f0-9a9c21512b02",
          "level": 1,
          "alterId": 64
        }
      ]
    }
  }],
  "outbounds": [{
    "protocol": "freedom",
    "settings": {}
  }]
}
EOF

There are some examples of uses for v2ray-core https://github.com/v2fly/v2ray-examples⁠

There is an example to start a container that listen on port 9000, run as a V2Ray server like below:

$ docker run -d -p 9000:9000 --name v2ray --restart=always -v /etc/v2ray:/etc/v2ray teddysun/v2ray

Warning: The port number must be same as configuration and opened in firewall.

Tag summary
Recent tags
Content type
Image
Digest
sha256:63d0a3a3e…
Size
22.7 MB
Last updated
7 days ago
docker pull teddysun/v2ray:latest