docker pull appso/shadowsocks-libev
mkdir -p /server/shadowsocks-libev/
touch /server/shadowsocks-libev/config.json
vim /server/shadowsocks-libev/config.json
{
    "server":"0.0.0.0",
    "server_port":443,
    "password":"你的客户端连接密码",
    "timeout":300,
    "method":"aes-256-gcm",
    "fast_open":false,
    "mode":"tcp_and_udp"
}
server            服务端监听地址
server_port    客户端用于连接的端口
password    客户端用于连接的密码
timeout            超时时间
method            默认为 aes-256-cfb,参阅 Encryption
mode            是否启用 TCP / UDP 转发,参阅 shadowsocks-libev(8)
fast_open    是否启用 TCP Fast Open
docker run -d -p 1234:443 -p 1234:443/udp --name ss-libev -v /server/shadowsocks-libev:/etc/shadowsocks-libev appso/shadowsocks-libev

查看启动状态

docker ps -a 

查看启动端口占用情况

netstat -anp | grep 1234