1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-05 19:44:32 -04:00
v2fly/tools/docker
Darien Raymond 001c0cc725 Merge pull request #74 from kxjhlele/patch-9
Update gen-server-cfg.sh
2016-01-26 10:18:45 +01:00
..
build.sh Move docker files to tools 2015-12-28 10:28:14 +01:00
Dockerfile Update Dockerfile 2016-01-26 16:25:16 +08:00
gen-server-cfg.sh Update gen-server-cfg.sh 2016-01-26 16:28:00 +08:00
README.md Move docker files to tools 2015-12-28 10:28:14 +01:00
run.sh Move docker files to tools 2015-12-28 10:28:14 +01:00

Docker build for v2ray

Usage

To build the image:

./build.sh

Then spin up a v2ray instance with:

./run.sh

The build script will generate a server config file with random user id. You can get it from server-cfg.json.

To tail the access log, run:

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