Socket
Book a DemoInstallSign in
Socket

docker-butler

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docker-butler

Create a new docker container from a git url, builds the container, looks up old container names, runs the container, stops the old containers and cleans up stopped containers

latest
Source
npmnpm
Version
2.1.0
Version published
Maintainers
1
Created
Source

docker-butler

Create a new docker container from a git url, builds the container, looks up old container names, runs the container, stops the old containers and cleans up stopped containers

Install

npm i docker-butler -g

Example

dbutler -g https://github.com/enokd/docker-node-hello.git -b master -e NODE_ENV=production -t namespace/myapp

Usage
Usage: dbutler [options]

Options:
    -g, --git      The url to your github repo                                              [required]
    -t, --tag      The tag for the container                                                [required]
    --socket       Your socket docker connection, eg /var/run/docker.sock
    -h, --host     Your docker host: eg. http://192.168.42.43:2375
    -b, --branch   The branch you want to deploy                                            [default: "master"]
    --dns          The DNS, eg. 8.8.8.8
    -v, --volumes  The volume eg /some/host_folder:/some/container_folder (host:container)
    --wait         Time to wait to check if the container is running                        [default: 1000]
    --env          The env vars
    -s, --socket                                                                            [default: "/var/run/docker.sock"]                                                                         [default: "/var/run/docker.sock"]

FAQs

Package last updated on 28 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts