A simple web application built with Golang that can be used for container testing
210
https://github.com/dev-sareno/cweb
Run
# run with a message instance1 on default port 8088
$ docker run \
--rm \
-ti \
-e CMSG=instance1 \
-p 80:8088 \
devsareno/cweb:latest
# run with a message instance1 on custom port 3000
$ docker run \
--rm \
-ti \
-e CMSG=instance1 \
-e CPORT=3000 \
-p 80:3000 \
devsareno/cweb:latest
$ curl localhost
msg: instance1
Content type
Image
Digest
sha256:3ec419d9d…
Size
179 MB
Last updated
over 3 years ago
docker pull devsareno/cweb