Sign inSign up

falmar/hostname

By falmar

Updated about 1 year ago

Tiny HTTP server that reads the hostname and prints it as response

Buildkit cache
Image
0

2.3K

falmar/hostname repository overview

Project can be found here

It is a tiny Go application for an http server that reads the hostname and prints it as response. useful for debugging or placeholder http container

default port is 80 if none is provided, use -e PORT=8080 to change the listening port

paths:

  • / -> HTTP 200 text/plain
  • /hostname -> HTTP 200 text/plain
  • /healthz -> HTTP 200|500 text/plain
  • /{catchall} HTTP 404

Tag summary

Content type

Image

Digest

sha256:f5a4d23f0

Size

8.3 MB

Last updated

about 1 year ago

docker pull falmar/hostname