GithubHelp home page GithubHelp logo

docker-tunnel's Introduction

SSH隧道

//构建镜像
docker build -f Dockerfile.ssh -t zhiqiangwang/tunnel:ssh . 
//本地运行
docker run -it --name ubuntu-ssh -p 8022:22 -e SSH_USER=ubuntu -e SSH_PASSWORD=123456 -d zhiqiangwang/tunnel:ssh
//创建k8s deployment
kubectl apply -f  https://raw.githubusercontent.com/izhiqiang/docker-tunnel/main/deployment-ssh.yaml

v2ray隧道

//构建镜像
docker build --build-arg="V2RAY_TAG=5.14.1" -f Dockerfile.v2ray -t zhiqiangwang/tunnel:v2ray . 
//本地运行(默认配置)
docker run -it --name v2ray -p 10086:10086 -e V2RAY_VMESS_PORT=10086 -e V2RAY_CLIENT_ID=b831381d-6324-4d53-ad4f-8cda48b30811 -d zhiqiangwang/tunnel:v2ray
//本地运行(自定义配置文件)
docker run -it --name v2ray -p 10086:10086 -v /your path/config.json:/etc/v2ray/config.json -d zhiqiangwang/tunnel:v2ray
//创建k8s deployment
kubectl apply -f  https://raw.githubusercontent.com/izhiqiang/docker-tunnel/main/deployment-v2ray.yaml

xray隧道

//构建镜像
docker build --build-arg="XRAY_TAG=1.8.8" -f Dockerfile.xray -t zhiqiangwang/tunnel:xray . 
//本地运行(默认配置)
docker run -it --name xray -p 9000:9000 -e XRAY_VMESS_PORT=9000 -e XRAY_CLIENT_ID=b831381d-6324-4d53-ad4f-8cda48b30811 -d zhiqiangwang/tunnel:xray
//本地运行(自定义配置文件)
docker run -it --name xray -p 9000:9000 /your path/config.json:/etc/xray/config.json -d zhiqiangwang/tunnel:xray
//创建k8s deployment
kubectl apply -f  https://raw.githubusercontent.com/izhiqiang/docker-tunnel/main/deployment-xray.yaml

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.