As you expect, simply pull the image and run.
docker pull hnbly/shadowsocks-libev
Run as server.
docker run --name shadowsocks-libev -e PASSWORD=<your password> -e ARGS="-d 8.8.8.8,8.8.4.4" -p 8388:8388 -p 8388:8388/udp -d --restart always hnbly/shadowsocks-libev
Run as client.
docker run --name shadowsocks-libev -e SS_MODULE=ss-local -e SERVER_ADDR=<your server addr> -e PASSWORD=<your password> -e ARGS="-b 0.0.0.0" -p 1080:1080 -p 1080:1080/udp -d --restart always hnbly/shadowsocks-libev
SS_LIBEV_VERSION: the official version, defaults to 3.3.5SS_MODULE: the module to run as, defaults to ss-serverSERVER_ADDR: the server IP/domain to bind to, defaults to 0.0.0.0SERVER_PORT: the server port to bind to, defaults to 8388LOCAL_PORT: the local port to bind to, defaults to 1080PASSWORD: the password, defaults to <hostname>METHOD: encryption method to use, defaults to aes-256-gcmTIMEOUT: defaults to 300ARGS: all other supported arguments by officialContent type
Image
Digest
Size
14.4 MB
Last updated
almost 6 years ago
docker pull hnbly/shadowsocks-libev