testcontainers/helloworld
A Docker image to support Testcontainers' self-test suites
100K+
This is a Docker image for use by Testcontainers' own self-test suites. It is not intended for use outside of the Testcontainers project.
It features a small HTTP server with the following characteristics:
/ping
, to enable plain HTTP testing./uuid
, to enable testing of multiple container instances or testing of stop/start behaviour.DELAY_START_MSEC
to a non-zero number will:
$ docker run -p 8080:8080 -p 8081:8081 -e DELAY_START_MSEC=2000 testcontainers/helloworld
2020/09/26 08:50:55 DELAY_START_MSEC: 2000
2020/09/26 08:50:55 Sleeping for 2000 ms
2020/09/26 08:50:57 Starting server on port 8080
2020/09/26 08:50:57 Sleeping for 2000 ms
2020/09/26 08:50:59 Starting server on port 8081
2020/09/26 08:50:59 Ready, listening on 8080 and 8081
See LICENSE.
Copyright (c) 2020 Richard North and other authors.
docker pull testcontainers/helloworld