Docker image for shadowsocks-libev.
You can launch a shadowsocks server container with the command below:
docker run -d --name ss -p 8389:8389 \
-v "$(pwd)/config.json:/config.json" \
yumminhuang/docker-shadowsocks ss-server -c /config.json
Make sure expose the port that defined as server_port
in config.json
.
Or append the customized options at the end of docker run
command, like:
docker run -d --name ss -p 8388:8388 yumminhuang/docker-shadowsocks \
ss-server -s '0.0.0.0' -p 8388 -k PASSWORD -m aes-256-cfb