mirror of https://github.com/v2ray/v2ray-core
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.
27 lines
369 B
27 lines
369 B
9 years ago
|
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
|
||
|
```
|