Yet another unofficial v2ray server container
10K+
Yet another unofficial v2ray server container with x86 and arm/arm64 (Raspberry Pi) support.
$ git clone https://github.com/samuelhbne/server-v2ray.git
$ cd server-v2ray
$ docker build -t samuelhbne/server-v2ray:amd64 -f Dockerfile.amd64 .
...
$ docker run --rm -it samuelhbne/server-v2ray:amd64
server-v2ray -u|--uuid <vmess-uuid> [-p|--port <port-num>] [-l|--level <level>] [-a|--alterid <alterid>] [-k|--hook hook-url]
-u|--uuid <vmess-uuid> Vmess UUID for initial V2ray connection
-p|--port <port-num> [Optional] Port number for incoming V2ray connection, default 10086
-l|--level <level> [Optional] Level number for V2ray service access, default 0
-a|--alterid <alterid> [Optional] AlterID number for V2ray service access, default 16
-k|--hook <hook-url> [Optional] URL to be hit before server execution, for DDNS update or notification
$ docker run --name server-v2ray -p 20086:10086 -d samuelhbne/server-v2ray:amd64 -u bec24d96-410f-4723-8b3b-46987a1d9ed8
...
Try to connect the server from v2ray compatible mobile app like v2rayNG for Android or Shadowrocket for iOS with the host-name, port, UUID, alterid etc. set above. Or verify it from Ubuntu / Debian / Raspbian client host follow the instructions below.
$ docker run --rm -it samuelhbne/proxy-v2ray:amd64
proxy-v2ray -h|--host <v2ray-host> -u|--uuid <vmess-uuid> [-p|--port <port-num>] [-l|--level <level>] [-a|--alterid <alterid>] [-s|--security <client-security>]
-h|--host <v2ray-host> V2ray server host name or IP address
-u|--uuid <vmess-uuid> Vmess UUID for initial V2ray connection
-p|--port <port-num> [Optional] Port number for V2ray connection, default 10086
-l|--level <level> [Optional] Level number for V2ray service access, default 0
-a|--alterid <alterid> [Optional] AlterID number for V2ray service access, default 16
-s|--security <client-security> [Optional] V2ray client security setting, default 'auto'
$ docker run --name proxy-v2ray -p 1080:1080 -p 65353:53/udp -p 8123:8123 -d samuelhbne/proxy-v2ray:amd64 -h 12.34.56.78 -p 20086 -u bec24d96-410f-4723-8b3b-46987a1d9ed8
...
$ curl -sSx socks5h://127.0.0.1:1080 http://ifconfig.co
12.34.56.78
$ docker stop server-v2ray
...
$ docker rm server-v2ray
...
Content type
Image
Digest
Size
44 MB
Last updated
about 5 years ago
docker pull samuelhbne/server-v2ray