Base on source: https://github.com/shadowsocks/shadowsocks-libev/tree/master/docker/alpine
docker run -d -e METHOD=aes-256-cfb -e PASSWORD=change-it-to-your-password -p 8443:8443 --restart always afxcn/shadowsocks-libev
Encrypt method: rc4-md5,
aes-128-gcm, aes-192-gcm, aes-256-gcm,
aes-128-cfb, aes-192-cfb, aes-256-cfb,
aes-128-ctr, aes-192-ctr, aes-256-ctr,
camellia-128-cfb, camellia-192-cfb,
camellia-256-cfb, bf-cfb,
chacha20-poly1305, chacha20-ietf-poly1305
salsa20, chacha20 and chacha20-ietf.
Create a new file docker-compose.yml, write text as:
client:
image: afxcn/shadowsocks-libev
command:
ss-local -s 1.2.3.4
-p 8443
-m aes-256-cfb
-k change-it-to-your-password
-b 0.0.0.0
-l 1080
-t 60
--fast-open
ports:
- "1080:1080"
restart: always
docker-compose up -d client
Content type
Image
Digest
Size
4.2 MB
Last updated
over 9 years ago
docker pull afxcn/shadowsocks-libev