dray

command module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

README

Building

The process of building the Dray container involves executing a Docker image that, when executed, compiles the Dray code and generates an extremely small image that contains nothing but the compiled binary.

The build-dray.sh script will execute the centurylink\golang-builder image with the appropriate arguments -- the end-result should be a new centurylink/dray image in the docker images list.

Running

Before starting Dray, start Redis and then link Dray to that Redis container:

docker run -d --name redis redis
docker run -d --name dray --link redis:redis \
  -v /var/run/docker.sock:/var/run/docker.sock -p 3009:3000 centurylink/dray:latest

In the example above, the -p flag is used to map the Dray API endpoint (listening on port 3000 in the container) to port 30009 on the host machine. In situtations where you don't need a mapped port (like when linking another container to the Dray container) the -p flag can be omitted.

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.
_workspace/src/github.com/fzzy/radix/extra/pool
The pool package implements a connection pool for redis connections which is thread-safe
The pool package implements a connection pool for redis connections which is thread-safe
_workspace/src/github.com/fzzy/radix/redis
A simple client for connecting and interacting with redis.
A simple client for connecting and interacting with redis.
_workspace/src/github.com/fzzy/radix/redis/resp
This package provides an easy to use interface for creating and parsing messages encoded in the REdis Serialization Protocol (RESP).
This package provides an easy to use interface for creating and parsing messages encoded in the REdis Serialization Protocol (RESP).
_workspace/src/github.com/gorilla/context
Package context stores values shared during a request lifetime.
Package context stores values shared during a request lifetime.
_workspace/src/github.com/gorilla/mux
Package gorilla/mux implements a request router and dispatcher.
Package gorilla/mux implements a request router and dispatcher.

Jump to

Keyboard shortcuts

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