This Dockerfile builds an image with the Python implementation of shadowsocks, pen(for balancing), nginx(for a web server of PAC file), and even a cron job to measure the health of Shadowsocks connections and update pen states according to it. Based on Ubuntu 14.04 image.
It's required to customize supervisord.conf with your server settings and mount the folder of supoervisord.conf file as a volume. The default supervisor.conf are delivered with 3 server configurations, you may need to delete some or add more. Notice: you will need to change the parameters of pen according to shadowsocks settings also.
docker run -p 1990:1990 -p 2222:22 -p 1989:1989 -p 8000:80 --name ss -v $PWD:/usr/share/nginx/html -v $PWD:/etc/supervisor/conf.d -d -i yaleh/docker-shadowsocks
Ports to map
Volumes to mount
For more command line options, refer to the shadowsocks documentation
Content type
Image
Digest
sha256:85bc4dfa8…
Size
145.6 MB
Last updated
almost 11 years ago
docker pull yaleh/docker-shadowsocks