mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-17 14:56:12 +00:00
Move docker files to tools
This commit is contained in:
1 parent
639bcad78d
commit
f9e017d7c4
5 files changed
No files matched your search
@@ -0,0 +1,26 @@
|
||||
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
|
||||
```
|
||||
Reference in new issue
Block a user