Skip to content

riccardo-casazza/docker-privoxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ziobombo/privoxy:1.0

Introduction

Dockerfile to create a Docker container image for Privoxy.

Privoxy is a non-caching web proxy with advanced filtering capabilities for enhancing privacy, modifying web page data and HTTP headers, controlling access, and removing ads and other obnoxious Internet junk.

Contributing

If you find this image useful here's how you can help:

  • Send a pull request with your awesome features and bug fixes
  • Help users resolve their issues.

Issues

Before reporting your issue please try updating Docker to the latest version and check if it resolves the issue. Refer to the Docker installation guide for instructions.

SELinux users should try disabling SELinux using the command setenforce 0 to see if it resolves the issue.

If the above recommendations do not help then report your issue along with the following information:

  • Output of the docker version and docker info commands
  • The docker run command or docker-compose.yml used to start the image. Mask out the sensitive bits.

Getting started

Installation

Automated builds of the image are available on Dockerhub and is the recommended method of installation.

docker pull ziobombo/privoxy:latest

Alternatively you can build the image yourself.

docker build -t ziobombo/privoxy github.com/ziobombo/docker-privoxy

Quickstart

Start privoxy using:

docker run -d \
  --name=privoxy \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Europe/Paris \
  -p 8118:8118 \
  -v <path to data>:/config \
  --restart always \
  ziobombo/privoxy

Alternatively, you can use the sample docker-compose.yml file to start the container using Docker Compose

Usage

Configure your web browser network/connection settings to use the proxy server which is available at <ip>:8118

If you are using Linux then you can also add the following lines to your .bashrc file allowing command line applications to use the proxy server for outgoing connections.

export ftp_proxy=http://<ip>:8118
export http_proxy=http://<ip>:8118
export https_proxy=http://<ip>:8118

Logs

To access the Privoxy logs, you can use:

docker logs -f privoxy

Maintenance

Upgrading

To upgrade to newer releases:

  1. Download the updated Docker image:
docker pull ziobombo/privoxy:latest
  1. Stop the currently running image:
docker stop privoxy
  1. Remove the stopped container
docker rm -v privoxy
  1. Start the updated image
docker run -name privoxy -d \
  [OPTIONS] \
  ziobombo/privoxy:latest

Shell Access

For debugging and maintenance purposes you may want access the containers shell. If you are using Docker version 1.3.0 or higher you can access a running containers shell by starting bash using docker exec:

docker exec -it privoxy bash

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published