Public Repository

Last pushed: 2 years ago
Short Description
Envspitter is a simple http server spitting env variables in plain text. The server is listening on 127.0.0.1:8081 by default, override it with -l or --listen
Full Description

Envspitter

Envspitter is a simple http server spitting env variables in plain text.
Succesfully over-used it to learn Kubernetes, again very basic, but get the job done !

The server is listening on 127.0.0.1:8081 by default, override it with -l or --listen

$ docker run -t -i jbaptiste/envspitter --help
Usage of /usr/local/bin/envspitter:
      -l, --listen="127.0.0.1:8081"  IPaddress to listen from 

Running as docker :

$ docker run -t -p 9090:9090 -i jbaptiste/envspitter --listen 0.0.0.0:9090
2014/07/04 12:48:01 Listening on 0.0.0.0:9090 ...

Sample output :

$ curl http://192.168.59.103:9091/
HOME=/root
PATH=/root/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
HOSTNAME=0c1457942ed9
TERM=xterm
GOPATH=/root/go
Docker Pull Command
Owner
jbaptiste

Comments (0)