hareg

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2015 License: GPL-2.0 Imports: 7 Imported by: 0

README

Service Register

Dockerfile

  docker build -t hareg .

Create Service

  docker run -d -P -e SERVICE_DOMAIN="app01:/api" microservice
  docker run -d -P -e SERVICE_DOMAIN="app02:/icon" icon

Run

   docker run -d \
      --name register \
      --net=host \
      -v ~/.docker:/tls \
      -e ETCD_HOST=http://localhost:2379 \
      -e DOCKER_HOST=https://localhost:2375 \
      -e DOCKER_CERT_PATH=/tls \
      hareg

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/github.com/docker/docker/pkg/pools
Package pools provides a collection of pools which provide various data types with buffers.
Package pools provides a collection of pools which provide various data types with buffers.
_workspace/src/github.com/fsouza/go-dockerclient
Package docker provides a client for the Docker remote API.
Package docker provides a client for the Docker remote API.
_workspace/src/github.com/fsouza/go-dockerclient/testing
Package testing provides a fake implementation of the Docker API, useful for testing purpose.
Package testing provides a fake implementation of the Docker API, useful for testing purpose.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL