Exposes container environment variables via HTTP. Useful for testing stuff that injects env vars.
1.2K
This serves up the env vars that the container knows about -- e.g.:
$ docker run --name=webhook-env -d -p 19000:9000 msabramo/webhook-env
489ce4276ff785243fa91e3e1fb8093e581ab1465d0bde5c709d0b4d8edd1131
$ curl $DOCKER_IP:19000/hooks/env
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=489ce4276ff7
GOPATH=/go
SRCPATH=/go/src/github.com/adnanh
WEBHOOK_VERSION=2.6.4
HOME=/root
$ docker rm -f webhook-env
webhook-env
Content type
Image
Digest
Size
5 MB
Last updated
about 9 years ago
docker pull msabramo/webhook-env