Introducing our new CEO Don Johnson - Read More

hashicorp/http-echo

Verified Publisher

By HashiCorp, Inc.

Updated over 1 year ago

http-echo is an in-memory web server that echos back the arguments given to it.

Image
Monitoring & Observability
Networking
Web Servers
74

50M+

http-echo Server

http-echo is an in-memory web server that renders an HTML page containing the contents of the arguments provided to it. This is especially useful for demos or a more extensive "hello world" Docker application.

Usage

docker run -p 5678:5678 hashicorp/http-echo -text="hello world"

And then visit http://localhost:5678/ in your browser and see "hello world".

To change the port the service is listening on, specify the -listen flag:

docker run -p 8080:8080 hashicorp/http-echo -listen=:8080 -text="hello world"

Docker Pull Command

docker pull hashicorp/http-echo