This Dockerfile builds an image with the Python implementation of shadowsocks client
sslocal. Based on Ubuntu 16.04 image.
This image uses ENTRYPOINT to run the containers as an executable.
docker run -d -p 1984:1984 --name sslocal zhenkyle/docker-sslocal -b 0.0.0.0 -s $YOUR_SERVER_IP -p $YOUR_SERVER_PORT -l 1984 -k $SSPASSWORD -m chacha20
You can configure the service to run on a port of your choice. Just make sure the port number given to Docker is the same as the one given to shadowsocks. Also, it is highly recommended that you store the shadowsocks password in an environment variable as shown above. This way the password will not show in plain text when you run
For more command line options, refer to the shadowsocks documentation.
2.9.0: shadowsocks-python 2.9.0. This version comes with
22.214.171.124: shadowsocks-python 2.8.2 with salsa20, chacha20. Note that
chacha20is now prefered cipher, because it's safer and faster, accroding to this comment. (2016-11-23)
2.8.2: shadowsocks-python 2.8.2 without salsa20, chacha20 (2015-9-21)