mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-02 09:17:55 -04:00
001c0cc725
Update gen-server-cfg.sh |
||
---|---|---|
.. | ||
build.sh | ||
Dockerfile | ||
gen-server-cfg.sh | ||
README.md | ||
run.sh |
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