Http server for testing traffic between machines
1M+
Simple HTTP server for testing API interactions and network connectivity between containers/services.
# Run the container
docker run -p 1234:8080 johanburati/hello:latest
# Test with ping endpoint
curl http://localhost:1234/ping
{"message":"pong"}
# Test with hello endpoint (query parameter)
curl http://localhost:1234/hello?name=world
{"message":"Hello world!","name":"world"}
# Test with hello endpoint (path parameter)
curl http://localhost:1234/hello/docker
{"message":"Hello docker!","name":"docker"}
/ - Help page with all endpoints/ping - Simple ping test/hello?name=value - Greeting with name/health - Server health status/info - Server information/ip - Client IP addressAll endpoints return JSON responses.
Content type
Image
Digest
sha256:638ba8e3f…
Size
8.6 MB
Last updated
over 1 year ago
docker pull johanburati/hello