Dockerized Shadowsocks server and client.
277
This Docker image is build from the Shadowsocks-python v2.8.2, based on aliyun-ubuntu v14.04, and system was optimizing.
python-2.8.2-serverpython-2.8.2-clientdocker run --name shadowsocks-server -d \
--publish 8388:8388 \
--env 'PASSWORD=you-password' \
--restart=always \
--user=nobody
nunchuk/shadowsocks:python-2.8.2-server
Assuming that the Shadowsocks server host is 192.168.1.100
docker run --name shadowsocks-client -d \
--publish 1080:1080 \
--env 'SERVER_ADDR=192.168.1.100' \
--env 'PASSWORD=you-password' \
--restart=always \
--user=nobody
nunchuk/shadowsocks:python-2.8.2-client
You can adjust the configuration of the shadowsocks instance by passing one or more environment variables on the docker run command line.
SERVER_ADDR server address, default: 0.0.0.0SERVER_PORT server port, default: 8388PASSWORD password used for encryptionMETHOD encryption method, default: aes-256-cfb. else rc4-md5TIMEOUT timeout in seconds, default: 300WORKERS number of spawning child processesSERVER_ADDR server addressSERVER_PORT server port, default: 8388LOCAL_ADDR the address your local listens, default: 0.0.0.0LOCAL_PORT local port, default: 1080PASSWORD password used for encryptionMETHOD encryption method, default: aes-256-cfb. else rc4-md5TIMEOUT timeout in seconds, default: 300docker run nunchuk/shadowsocks:python-2.8.2-server ssserver -c ./shadowsocks.json
Content type
Image
Digest
Size
144.4 MB
Last updated
over 10 years ago
docker pull nunchuk/shadowsocks:python-2.8.2-client