Sign inSign up

zydou/xray

By zydou

Updated 8 months ago

Xray 路由规则文件加强版,代替官方 geoip.dat 和 geosite.dat

Image
3

10K+

zydou/xray repository overview

Xray with enhanced rules dat file

Container Registry

Docker CLI

docker run -d -restart=always \
    --name xray \
    -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/xray/config.json:ro \
    zydou/xray:v1.8.4

Docker Compose

version: "3.9"
services:
  service.xray:
    image: zydou/xray:v1.8.4
    container_name: xray
    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/xray/config.json:ro
    restart: always

This will pull the zydou/xray image with the tag v1.8.4 from Docker Hub, if it is not already stored locally. It then launches a container that runs an xray service and maps its internal port 1080 to port 12345 on the host machine.

Check out all tags if you need another version.

Source code

GitHub (Also contains other tools to bypass the GFW)

LICENSE

MIT

Tag summary

Content type

Image

Digest

sha256:74a22fddb

Size

15.2 MB

Last updated

8 months ago

docker pull zydou/xray