8000 GitHub - jcmoraisjr/hello: Very small test image for clusters (Kubernetes) as well as standalone (Docker) container installations
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Very small test image for clusters (Kubernetes) as well as standalone (Docker) container installations

Notifications You must be signed in to change notification settings

jcmoraisjr/hello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Hello

A very small (download < 5MiB) image with Alpine Linux, TZ data, Lighttpd and Bash used to test deployments on clusters (Kubernetes) as well as standalone (Docker) container installations.

Docker Repository on Quay

#So what

Container's hostname, timezone, remote address including X-Forwarded-For header (if provided), ip address and so on. All of them are provided in a single html page.

Nice for tests.

#Usage

Run:

docker run -d -p 8080:8080 quay.io/jcmoraisjr/hello

View:

http://localhost:8080

Environment variables are propagated:

docker run -d -e TZ=Europe/Monaco -p 8080:8080 quay.io/jcmoraisjr/hello

Another env var?

docker run -d -e VAR1='user agent:HTTP_USER_AGENT' -p 8080:8080 quay.io/jcmoraisjr/hello

Another command?

docker run -d -e CMD1='env vars:env' -p 8080:8080 quay.io/jcmoraisjr/hello

More than one env var or command? Define VAR2, VAR3, CMD2, CMD3, ...

About

Very small test image for clusters (Kubernetes) as well as standalone (Docker) container installations

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

0