hashicorp/http-echo
http-echo is an in-memory web server that echos back the arguments given to it.
50M+
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.
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 hashicorp/http-echo