Sign inSign up

josepabloespinoza/testwebcolor

By josepabloespinoza

•Updated over 5 years ago

Simple nginx web server, hosting an html with different color each time a container is instantiated.

Image
0

309

josepabloespinoza/testwebcolor repository overview

Simple webserver for testing clusters.

Each time the images is instantiated it creates a index.html with a "unique" color.

The env variable CONTAINER_GROUP is used to display on the index.html on withc cluster/service/grouping the container belongs. If non is specified it will display de default value "CONTAINER GROUP"

Usage:

docker run -d --rm -e CONTAINER_GROUP="test 1" -p 8899:80 jp/webcolor:latest

docker run -d --rm -p 8899:80 jp/webcolor:latest

Tag summary

Content type

Image

Digest

Size

9.4 MB

Last updated

over 5 years ago

docker pull josepabloespinoza/testwebcolor