Sign inSign up

tazorax/http-pong

By tazorax

•Updated 4 months ago

An HTTP server that responds and logs each request in the standard output

Image
0

1.2K

tazorax/http-pong repository overview

⁠http-pong

šŸ“ An HTTP server that responds and logs each request in the standard output.

⁠Run

To start the server with Docker, listening on port 8080:

docker run --publish 8080:80 --rm tazorax/http-pong

⁠Samples

$ docker run -p 8080:80 --rm tazorax/http-pong 
2025/10/22 12:30:27 Listening on :80
2025/10/22 12:30:37 Request
GET /hello HTTP/1.1
Host: localhost:8080
Accept: */*
User-Agent: curl/8.7.1


--------------------------------------------------------------------------------
$ curl http://localhost:8080/hello
GET /hello HTTP/1.1
Host: localhost:8080
Accept: */*
User-Agent: curl/8.7.1

Tag summary

Content type

Image

Digest

sha256:5a7883b0f…

Size

2.4 MB

Last updated

4 months ago

docker pull tazorax/http-pong