mitmproxy/release/docker
Thomas Kriechbaumer f6405abda2
Merge pull request #3329 from Kriechi/readme-slogan
update readme slogan
2019-09-28 16:45:00 +02:00
..
docker-entrypoint.sh
Dockerfile bump dependencies 2018-12-02 15:48:20 +01:00
DockerfileARMv7 bump dependencies 2018-12-02 15:48:20 +01:00
README.md update readme slogan 2018-09-21 10:38:25 +02:00

mitmproxy

Containerized version of mitmproxy: an interactive, SSL/TLS-capable intercepting proxy for HTTP/1, HTTP/2, and WebSockets.

Usage

$ docker run --rm -it [-v ~/.mitmproxy:/home/mitmproxy/.mitmproxy] -p 8080:8080 mitmproxy/mitmproxy

The volume mount is optional: It's to store the generated CA certificates.

Once started, mitmproxy listens as a HTTP proxy on localhost:8080:

$ http_proxy=http://localhost:8080/ curl http://example.com/
$ https_proxy=http://localhost:8080/ curl -k https://example.com/

You can also start mitmdump by just adding that to the end of the command-line:

$ docker run --rm -it -p 8080:8080 mitmproxy/mitmproxy mitmdump

For mitmweb, you also need to expose port 8081:

# this makes :8081 accessible to the local machine only
$ docker run --rm -it -p 8080:8080 -p 127.0.0.1:8081:8081 mitmproxy/mitmproxy mitmweb --web-iface 0.0.0.0

You can also pass options directly via the CLI:

$ docker run --rm -it -p 8080:8080 mitmproxy/mitmproxy mitmdump --set ssl_insecure=true

For further details, please consult the mitmproxy documentation.

Tags

The available release tags can be seen here.

  • master always tracks the git-master branch and represents the unstable development tree.
  • latest always points to the same image as the most recent stable release, including bugfix releases (e.g., 4.0.0 and 4.0.1).
  • X.Y.Z tags contain the mitmproxy release with this version number.
  • *-ARMv7 are images built for Raspbian / Raspberry Pi systems.

Security Notice

Dependencies in the Docker images are frozen on release, and cant be updated in situ. This means that we necessarily capture any bugs or security issues that may be present. We dont generally release new Docker images simply to update dependencies (though we may do so if we become aware of a really serious issue).