You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
v2ray-core/tools/docker
CzBiX 38dbd38f67
[docker] refine Dockerfile
9 years ago
..
Dockerfile [docker] refine Dockerfile 9 years ago
README.md [doc] update logs file path missing in 6e84500 9 years ago
build.sh [docker] generate server config on first run 9 years ago
docker-entrypoint.sh [docker] refine Dockerfile 9 years ago
gen-server-cfg.sh [docker] generate server config on first run 9 years ago
run.sh

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