1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00
v2fly/tools/docker
2016-02-22 18:10:02 +08:00
..
build.sh [docker] generate server config on first run 2016-02-22 18:10:02 +08:00
docker-entrypoint.sh [docker] generate server config on first run 2016-02-22 18:10:02 +08:00
Dockerfile [docker] generate server config on first run 2016-02-22 18:10:02 +08:00
gen-server-cfg.sh [docker] generate server config on first run 2016-02-22 18:10:02 +08:00
README.md [docker] generate server config on first run 2016-02-22 18:10:02 +08: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 docker image will generate a server config file with random user id on first run. You can get see it with:

docker logs v2ray

To tail the access log, run:

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