Skip to content

etcd-io/etcdlabs

Repository files navigation

etcdlabs

Go Report Card Build Status Godoc

etcdlabs

See etcd-play for old code.

Technology Used

Build and Push to gcr.io

./scripts/docker/build-push.sh

Run locally

docker build --tag gcr.io/etcd-development/etcdlabs:latest --file ./Dockerfile .

docker run \
  --rm \
  -it \
  -p 4200:4200 \
  gcr.io/etcd-development/etcdlabs:latest \
  /bin/sh -c "pushd /gopath/src/github.com/etcd-io/etcdlabs && ./scripts/run/etcdlabs.sh"

Or

./scripts/docker/etcdlabs.sh

To check that it's running:

curl -L http://localhost:4200/health
OK

And open http://localhost:4200