Public Repository

Last pushed: a year ago
Short Description
做代理的镜像
Full Description
  1. Dockerfile
    FROM alpine:3.4
    MAINTAINER  python <becivells@gmail.com> 
    RUN  apk -U add python   py-pip \
     && pip install shadowsocks && mkdir /etc/shadowsocks && rm -rf /var/cache/apk/*
    COPY shadowsocks.json /etc/shadowsocks/shadowsocks.json
    EXPOSE 9001 9002
    CMD [ "ssserver","-c","/etc/shadowsocks/shadowsocks.json" ]
    
  2. shadowsocks.json
    {
     "server":"0.0.0.0",
     "local_address":"127.0.0.1",
     "local_port":1080,
     "port_password":{
          "9001":"123456",
          "9002":"123456"
     },
     "timeout":300,
     "method":"aes-256-cfb",
     "fast_open": false
    }
    
    运行需要指定端口
Docker Pull Command
Owner
becivells