View on GitHub

docker-devbox

[DEV] Docker stacks to quickly setup a dev environment and test some tools.

whoami

Container running containous/whoami to discover traefik :

whoami-screenshot

Usage with docker

Usage with Kubernetes

Quickstart

Read k8s-install.sh and run :

# To get whoami on http://whoami.dev.localhost
bash k8s-install.sh
# To get whoami on http://whoami.example.net
DEVBOX_HOSTNAME=example.net bash k8s-install.sh

Step by step

# Option 1) Deployment and Service only
kubectl -n whoami apply -k https://github.com/mborne/docker-devbox/whoami/manifest/base
# To get whoami on http://127.0.0.1:8888 :
kubectl -n whoami port-forward service/whoami 8888:80

# Option 2) Deployment, Service and Ingress ( http://whoami.dev.localhost )
kubectl -n whoami apply -k https://github.com/mborne/docker-devbox/whoami/manifest/localhost

# Option 3) Deployment, Service and Ingress ( http://whoami.dev.quadtreeworld.net )
kubectl -n whoami apply -k https://github.com/mborne/docker-devbox/whoami/manifest/qtw-dev