V2Ray 路由规则文件加强版,代替 V2Ray 官方 geoip.dat 和 geosite.dat
100K+
docker run -d -restart=always \
--name v2ray \
-e TZ=Asia/Shanghai \ # set desired timezone
-p 12345:1080 \
-p 12345:1080/udp \ # remove this line if you don't need udp proxy
-v $(pwd)/config.json:/etc/v2ray/config.json:ro \
zydou/v2ray:v4.45.2
version: "3.9"
services:
service.v2ray:
image: zydou/v2ray:v4.45.2
container_name: v2ray
environment:
- TZ=Asia/Shanghai # set desired timezone
ports:
- 12345:1080
- 12345:1080/udp # comment this line if you don't need udp proxy
volumes:
- ./config.json:/etc/v2ray/config.json:ro
restart: always
This will pull the zydou/v2ray image tagged with v4.45.2 from Docker Hub if it is not already present on the local host. It then starts a container running a v2ray service and exposes the container's internal port 1080 to port 12345 of the host machine.
Check out all tags if you need another version.
GitHub (Also contains other tools to bypass the GFW)
Content type
Image
Digest
sha256:56625bbf9…
Size
9 MB
Last updated
about 9 hours ago
docker pull zydou/v2ray:distroless