Mitmproxy on alpine linux.
Mitmproxy is a man in the middle proxy.
Terminal use :
mkdir mitmproxy
cd mitmproxy
docker run --rm -p 8080:8080 -v $(pwd):/root/.mitmproxy -ti mitmproxy
Daemon :
docker run -p 8080:8080 --name mitm -d danielguerra/alpine-mitmproxy mitmdump
After running mitmproxy the certificates are in your current dir. Copy mitmproxy-ca.pem to your browser and add it to your certificate authority. Set your browser proxy or your proxy environment variable. In your browser go to a https site. If all went well the ssl lock is green. You can check the certificates issuer to see if it has "mitmproxy".
docker pull danielguerra/alpine-mitmproxy:latest