docker-http-print

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2019 License: Unlicense Imports: 8 Imported by: 0

README

Docker HTTP print

Start it on some port (default to "8080") and it will print all request data that will reach it.

You can change default port with PORT env variable.

$ docker build -t docker-http-print .
$ docker run -e PORT=8090 -it --rm -p 8090:8090 docker-http-print

In Docker Compose file:

  http-print:
    image: docker-http-print
    environment:
      PORT: 8090
      LOGSPOUT: ignore
    ports:
      - "8090:8090"

From Docker Hub:

$ docker run -e PORT=8090 -it --rm -p 8090:8090 matrixik/http-print

In Docker Compose file:

  http-print:
    image: matrixik/http-print
    environment:
      PORT: 8090
      LOGSPOUT: ignore
    ports:
      - "8090:8090"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL