Sign inSign up

sunteya/polipo

By sunteya

Updated over 9 years ago

A docker for polipo

Image
1

598

sunteya/polipo repository overview

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

Tag summary

Content type

Image

Digest

sha256:fe674015a

Size

3.8 MB

Last updated

over 10 years ago

docker pull sunteya/polipo