Public Repository

Last pushed: 4 months ago
Short Description
A docker for polipo
Full Description

sunteya/polipo

polipo is a caching web proxy

Usage

  • Run polipo server

     docker run -p 8123:8123 sunteya/polipo
    
  • Run polipo server with argments

     docker run -p 8123:8123 sunteya/polipo --help
    
  • Run polipo server with config file

     docker run -p 8388:8388 -v $PWD/polipo-config:/app/config sunteya/polipo
    
  • Example for run with shadowsocks and docker-compose

     # docker-compose.yml
    
     sslocal:
       image: sunteya/shadowsocks:2.6.8
       restart: always
       volumes:
         - shadowsocks-sslocal.json:/etc/shadowsocks.json
       environment:
         - SS_APP=sslocal
       expose: [ 1080 ]
    
     polipo:
       image: sunteya/polipo:20160403
       links: [ sslocal ]
       ports: [ "8123:8123" ]
       restart: always
       command: [ "socksParentProxy=$SSLOCAL_PORT_1080_TCP_ADDR:1080" ]
    

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request
Docker Pull Command
Owner
sunteya

Comments (0)