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.
Dockerfile linkslatest, 5.52.0 (Dockerfile)5.51.2, 5.49.0, 5.48.0, 5.47.0, 5.46.05.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.05.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.05.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.05.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.14.45.2, 4.45.04.44.04.43.04.42.2, 4.42.14.41.1, 4.41.04.40.1, 4.40.04.39.2, 4.39.1, 4.39.04.38.3, 4.38.2, 4.38.1, 4.38.04.37.3, 4.37.2, 4.37.1, 4.37.04.36.2, 4.36.04.35.1, 4.35.04.34.04.33.04.32.1, 4.32.04.31.3, 4.31.2, 4.31.1, 4.31.04.30.04.29.04.28.2, 4.28.1, 4.28.04.27.5, 4.27.4, 4.27.2, 4.27.04.26.04.25.1, 4.25.04.24.24.23.4, 4.23.3, 4.23.2, 4.23.1, 4.23.04.22.1amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390xIf you need to install docker by yourself, follow the official installation guide.
$ docker pull teddysun/v2ray
This pulls the latest release of V2Ray.
It can be found at Docker Hub.
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.
Content type
Image
Digest
sha256:ad7146cc7…
Size
21.8 MB
Last updated
7 days ago
docker pull teddysun/v2ray