docker-bb

command module
v0.0.0-...-e21843d Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2017 License: MIT Imports: 18 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Docker Binary Builder

Circle CI

Docker binary builder, triggered from nsq messages.

$ docker-bb -h
Usage of docker-bb:
  -channel="binaries": nsq channel
  -d=false: run in debug mode
  -lookupd-addr="nsqlookupd:4161": nsq lookupd address
  -s3bucket="s3://test.docker.com/master/binaries/": s3 bucket to push binaries
  -s3region="us-east-1": s3 region where bucket lives
  -topic="hooks-docker": nsq topic
  -v=false: print version and exit (shorthand)
  -version=false: print version and exit

Example docker run command:

$ docker run -d --restart always \
    --link nsqlookupd1:nsqlookupd \
    -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v /usr/local/bin/docker:/usr/local/bin/docker \
    -v /tmp:/tmp \
    -e DOCKER_HOST="unix:///var/run/docker.sock" \
    --privileged \
    --name binary-builder \
    dockercore/docker-bb -d -s3bucket="s3://jesss/test/docker/master/" \
    -s3region="us-west-1" \
    -topic hooks-docker -channel binaries \
    -lookupd-addr nsqlookupd:4161

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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