v2ray 07a86f549b unified import path 9 anos atrás
..
Dockerfile 07a86f549b unified import path 9 anos atrás
README.md 968f9b9d14 [doc] update logs file path missing in 6e84500 9 anos atrás
build.sh c07cc6c6af [docker] generate server config on first run 9 anos atrás
docker-entrypoint.sh 38dbd38f67 [docker] refine Dockerfile 9 anos atrás
gen-server-cfg.sh 07a86f549b unified import path 9 anos atrás
run.sh f9e017d7c4 Move docker files to tools 9 anos atrás

README.md

Docker build for v2ray

Usage

To build the image:

./build.sh

Then spin up a v2ray instance with:

./run.sh

The docker image will generate a server config file with random user id on first run. You can get see it with:

docker logs v2ray

You can also specify config file by manual with:

docker run -d --name=v2ray -p 27183:27183 -v /config/file.json:/go/server-config.json $USER/v2ray

To tail the access log, run:

docker exec v2ray tail -F /go/access.log