diff options
| author | Maximilian Hils <git@maximilianhils.com> | 2018-09-20 17:34:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-20 17:34:10 +0200 |
| commit | 4be387d654ef2877fc535c6cb83ff1f32645fd81 (patch) | |
| tree | 8e73f15d73aff0d908cde043e13a7241360ff0b0 /docker/README.md | |
| parent | 97244a7e0e5dd6836ddaea4a9e267aea208c6515 (diff) | |
| parent | 73577eb607803c50dc73b6d2e6c44560e563c23b (diff) | |
| download | mitmproxy-4be387d654ef2877fc535c6cb83ff1f32645fd81.tar.gz mitmproxy-4be387d654ef2877fc535c6cb83ff1f32645fd81.tar.bz2 mitmproxy-4be387d654ef2877fc535c6cb83ff1f32645fd81.zip | |
Merge pull request #3327 from Kriechi/docker-notice
add docker security warning
Diffstat (limited to 'docker/README.md')
| -rw-r--r-- | docker/README.md | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/docker/README.md b/docker/README.md deleted file mode 100644 index 6693de45..00000000 --- a/docker/README.md +++ /dev/null @@ -1,38 +0,0 @@ -# mitmproxy - -Containerized version of [mitmproxy](https://mitmproxy.org/), an interactive SSL-capable intercepting HTTP proxy. - -# Usage - -```sh -$ 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`: -```sh -$ 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: -```sh -$ docker run --rm -it -p 8080:8080 mitmproxy/mitmproxy mitmdump -``` - -For `mitmweb`, you also need to expose port 8081: -```sh -# 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: -```sh -$ docker run --rm -it -p 8080:8080 mitmproxy/mitmproxy mitmdump --set ssl_insecure=true -``` - -For further details, please consult the mitmproxy [documentation](http://docs.mitmproxy.org/en/stable/). - -# Tags - -The available release tags can be seen [here](https://hub.docker.com/r/mitmproxy/mitmproxy/tags/). |
