Sign inSign up

weizhanjun/tinyproxy

By weizhanjun

•Updated over 2 years ago

tinyproxy 容器安装版

Image
0

98

weizhanjun/tinyproxy repository overview

⁠Docker启动

⁠服务端启动

docker run -d -p <HOST_PORT>:18888 weizhanjun/tinyproxy:1.11.1

⁠客户端测试

export http_proxy=http://admin:Enigma123456@⁠<HOST_IP>:<HOST_PORT> curl cip.cc

⁠Docker 自定义配置文件

docker run -d -p <HOST_PORT>:18888 -v <CONFIG_FILE>:/app/etc/tinyproxy/tinyproxy.conf weizhanjun/tinyproxy:1.11.1

⁠Docker Compose 启动

version: '3.8'

services:

  tinyproxy:
    image: weizhanjun/tinyproxy:1.11.1
    # privileged: true
    # network_mode: host
    restart: always
    volumes:
      - ./tinyproxy.conf:/app/etc/tinyproxy/tinyproxy.conf
    ports:
      - "18888:18888"

Tag summary

Content type

Image

Digest

sha256:91e894990…

Size

28.4 MB

Last updated

over 2 years ago

docker pull weizhanjun/tinyproxy:1.11.1