genshen / wssocks

socks5 over websocket
MIT License
147 stars 27 forks source link

docker support? #31

Closed segator closed 3 years ago

segator commented 3 years ago

client and server docker support it will be nice

genshen commented 3 years ago

Hi, docker is supported. You can pull docker image from https://hub.docker.com/repository/docker/genshen/wssocks/. e.g.

docker pull genshen/wssocks:0.5.0
# server
docker run --rm genshen/wssocks:0.5.0 server --addr :1088
# client
docker run --rm genshen/wssocks:0.5.0 client --remote was://example.com:1088

You can also build you own docker image from Dockerfile in this repo.