yet another container to run ss using a config file
1.2K
This Dockerfile build an image for shadowsocks-libev with v2ray-plugin, based on Alpine Linux.
Current version:
Get the docker image by running the following commands:
docker pull lerignoux/shadowsocks-libev
cp ./config.tpl.json ./config.json
Start a server instance:
docker run -d --name=shadowsocks-libev -v <config_path>:/etc/shadowsocks/config.json -p 8388:8388/tcp -p 8388:8388/udp lerignoux/shadowsocks-libev
And the client
docker run -d --name=shadowsocks-libev -v <config_path>:/etc/shadowsocks/config.json -p 8388:8388/tcp -p 8388:8388/udp lerignoux/shadowsocks-libev ss-local
edit the config.tpl.json with the settings you wish
docker run -d --name=shadowsocks-libev -v <config_path>:/etc/shadowsocks/config.json -e v2ray=1 -e HOST="your.host.com" -v <acme_path>/:certificates -p 8388:8388/tcp -p 8388:8388/udp lerignoux/shadowsocks-libev
your acme folder must container a container with your hostname and the following files: fullchain.pem, privkey.pem
for instance if my host is my.host.com, ensure:
<acme_path>/my.host.com/fullchain.pem
<acme_path>/my.host.com/privkey.pem
Server:
docker run -d --name=shadowsocks-libev -v <config_path>:/etc/shadowsocks/config.json -e v2ray=1 -e HOST="your.host.com" -v <acme_path>/:/certificates -p 8388:8388/tcp -p 8388:8388/udp lerignoux/shadowsocks-libev
Client:
docker run -d --name=shadowsocks-libev -v <config_path>:/etc/shadowsocks/config.json.json -e v2ray=1 -e HOST="your.host.com" -p 8388:8388/tcp -p 8388:8388/udp lerignoux/shadowsocks-libev ss-local
For more v2ray-plugin configrations please go to v2ray plugin docs
see docker-compose.tpl.yml
Content type
Image
Digest
Size
12.4 MB
Last updated
almost 6 years ago
docker pull lerignoux/shadowsocks-libev