Steps:
- Build docker image with
docker-build.sh
; - Run docker container with
docker-run.sh
; - Check the random credentials generated in
/home/tinyproxy/tinyproxy.conf
. - Finally, configure your client proxy settings.
Build image:
sudo ./docker-build.sh
Run container:
sudo ./docker-run.sh
HINT
You may want customize thedocker-run.sh
script.
Check credentials:
sudo docker exec tinyproxy grep BasicAuth /home/tinyproxy/tinyproxy.conf
Client proxy settings to put on ~/.profile:
export http_proxy="http://${AUTHUSER}:${AUTHPASS}@tinyproxy:8888"
export HTTP_PROXY="${http_proxy}"
export https_proxy="${http_proxy}"
export HTTPS_PROXY="${http_proxy}"
export no_proxy="127.0.0.1,localhost"
export NO_PROXY="${no_proxy}"
This is Open Source software released under the MIT license.