Privoxy is a "privacy enhancing proxy", filtering Web pages and removing advertisements. This docker container runs privoxy over Alpine Linux in 6 Mb uncompressed image.
The image can be pulled from https://hub.docker.com/r/caligari/privoxy/
(please, read the security note below)
docker run -d --name=privoxy -p 8118:8118 caligari/privoxy:latest
curl --proxy http://localhost:8118/ http://ifconfig.es
This container should be executed in a local host or in a VPN.
Please, don't execute this docker in a host accesible from the internet with -p parameter because it bypass the Linux firewall and you could be opening an anonymous internet door.