1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-19 02:16:11 -04:00
v2fly/tools/docker/README.md

27 lines
369 B
Markdown
Raw Normal View History

2015-12-24 21:27:13 -05:00
Docker build for v2ray
=======================
Usage
-----
To build the image:
```bash
./build.sh
```
Then spin up a v2ray instance with:
```bash
./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:
```bash
docker exec v2ray tail -F /v2ray/logs/access.log
```