本镜像需要运行在特权模式下(或至少是NET_ADMIN)。目前发布的仅包括x86_64版本。
样例compose文件如下:
version: '3.1'
services:
tiny:
image: whitemay/tinyvpn-client:alpine
environment:
- KEY=mykey
- NET=10.22.22.1
privileged: true
ports:
- 10001:10001
command: ["1.1.1.1:4000","10001"]
其中,command参数是必须要的,其中第一个参数是目的服务器地址和端口,后面跟上若干个你需要转接的端口。
Content type
Image
Digest
Size
4.9 MB
Last updated
almost 8 years ago
docker pull whitemay/tinyvpn-client:alpine