|
3 years ago | |
---|---|---|
.. | ||
Dockerfile | 3 years ago | |
README.md | 3 years ago | |
docker-compose.yml | 4 years ago | |
tinyproxy.conf | 4 years ago |
GitHub stilleshan/dockerfiles
Docker stilleshan/tinyproxy
docker image support for X86 and ARM
基于 tinyproxy/tinyproxy 项目的 docker 镜像.
1.11.0
版 docker 镜像.1.10.0
版 docker 镜像,新增同时支持 X86 和 ARM 架构.docker run -d --name=tinyproxy --restart=always -p 8888:8888 stilleshan/tinyproxy
下载 docker-compose.yml 执行以下命令启动:
docker-compose up -d
curl -x https://IP:8888 https://ifconfig.co
Tinyproxy 支持 BasicAuth 身份验证,需启动一次容器并执行以下命令将tinyproxy.conf
拷贝至宿主机,并删除该容器.
docker cp tinyproxy:/etc/tinyproxy/tinyproxy.conf .
配置BasicAuth user password
参数并将tinyproxy.conf
挂载至/etc/tinyproxy/tinyproxy.conf
后再次启动容器.
docker run -d --name=tinyproxy --restart=always -p 8888:8888 -v /path/tinyproxy.conf:/etc/tinyproxy/tinyproxy.conf stilleshan/tinyproxy
curl -x https://user:password@IP:8888 https://ifconfig.co