Public Repository

Last pushed: 4 months ago
Short Description
Exposes container environment variables via HTTP. Useful for testing stuff that injects env vars.
Full Description

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
Docker Pull Command
Owner
msabramo

Comments (0)