Skip to content

Shows detailed information about the container environment.

Notifications You must be signed in to change notification settings

jennerwein/whoami

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whoami

A server that gives information about the container environment such as:

local address / local port / remote address / remote port / default gateway IPv4 / public IP / uptime / ...

Run whoami as a docker container

docker run -p 8080:80 --name whoami -d jennerwein/whoami

Running on your local computer access the container whoami by:
IPv4: http://127.0.0.1:8080 or
IPv6: http://[::1]:8080

Remarks

  • Run a red whoami container by:
    docker run -p 8080:80 -e WHOAMICOLOR=red --name whoami -d jennerwein/whoami
  • Available values for WHOAMICOLOR are red, blue, green, yellow, purpel.
  • Build and start a whoami container with the script:
    ./start-whoami.sh
  • Test and debug the app whoami in the directory /app with:
    python3 app.py
  • Test the app whoami with environment variables:
    WHOAMICOLOR=red python app.py

About

Shows detailed information about the container environment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published