This Dockerfile builds an image with the Python implementation of shadowsocks. Based on python:3.7.1-alpine image.
Modify the docker-compose.yml file,update command:
docker-compose up
or
docker build -t shadowsocks .
docker run -d -p 443:443 shadowsocks -s 0.0.0.0 -p 1984 -k $SSPASSWORD -m aes-256-cfb
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 docker ps.
For more command line options, refer to the shadowsocks documentation
Content type
Image
Digest
Size
29.9 MB
Last updated
over 7 years ago
docker pull xxiu/docker-shadowsocks