config.json with multi port and password:
{
"server":"1.1.1.1",
"port_password": {
"7001": "SOME_STRONG_PASSWORD",
"8001": "ANOTHER_PASSWORD"
},
"method": "aes-128-cfb",
"timeout":600,
"local_port": 1080
}
config.json with single port and password:
{
"server":"1.1.1.1",
"server_port": 7001,
"local_port": 1080,
"password":"SOME_STRONG_PASSWORD",
"timeout":600,
"method":"aes-256-cfb"
}
docker run --name shadowsocks -d \
-v /PATH/TO/config.json:/etc/shadowsocks/config.json \
-p 7001:7001 -p 8001:8001 horx/shadowsocks-go
if you just run shadowsocks with single port:
docker run --name shadowsocks -d \
-v /PATH/TO/config.json:/etc/shadowsocks/config.json \
-p 7001:7001 horx/shadowsocks-go
Content type
Image
Digest
sha256:a334c91e2…
Size
144.7 MB
Last updated
about 11 years ago
docker pull horx/shadowsocks-go