# launch web-fixture
docker run -d -p 8999:8080 hawkularqe/web-fixture
# get custom http code
curl -I http://localhost:8999/http?return=503
--> HTTP/1.1 503 Service Temporarily Unavailable
curl -I http://localhost:8999/http?return=405
--> HTTP/1.1 405 Not Allowed
Pass in an optional cron expression and time-to-live
# Server goes offline for 10 seconds every minute
docker run -p 8999:8080 -e "DURATION=50s" -e "CRON_EXP=* * * * *" hawkularqe/web-fixture
Content type
Image
Digest
sha256:8c438766d…
Size
66.5 MB
Last updated
almost 11 years ago
docker pull hawkularqe/web-fixture