Sign inSign up

rmarcello/hello

By rmarcello

•Updated over 3 years ago

A simple and little image that can be used to test simple API. It's based on nginx open source.

Image
0

888

rmarcello/hello repository overview

⁠Intro

A hello is simple and little image that can be used to test simple API. It's based on nginx open source.

⁠Test

⁠Run

docker run --name hello -p 8080:80 -d rmarcello/hello:latest

URL that can be called with 200 status:

curl http://localhost:8080/
curl http://localhost:8080/hello
curl http://localhost:8080/time

and URL that can be called for error:

curl http://localhost:8080/error
curl http://localhost:8080/error401
curl http://localhost:8080/error403

⁠Stop

docker container stop hello
docker container rm hello

Tag summary

Content type

Image

Digest

sha256:897353688…

Size

15.9 MB

Last updated

over 3 years ago

docker pull rmarcello/hello