Skip to content

Instantly share code, notes, and snippets.

@russmckendrick
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save russmckendrick/11318276 to your computer and use it in GitHub Desktop.
Save russmckendrick/11318276 to your computer and use it in GitHub Desktop.
Shipyard Installation

Install Shipyard

yum install http://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
yum -y install docker-io vim-enhanced
vim /etc/sysconfig/docker # Replace other_args="" with other_args="-H tcp://127.0.0.1:4243 -H unix:///var/run/docker.sock"
service docker start
chkconfig docker on
docker run -i -t -v /var/run/docker.sock:/docker.sock shipyard/deploy setup

Install Agent

curl https://github.com/shipyard/shipyard-agent/releases/download/v0.3.1/shipyard-agent -L -o /usr/local/bin/shipyard-agent
chmod +x /usr/local/bin/shipyard-agent 
shipyard-agent -url http://<host>:8000 -register
shipyard-agent -url http://<host>:8000 -key <key>
docker run -i -t --rm -v /var/run/docker.sock:/docker.sock -e URL=http://<host>:8000 -p 4500:4500 shipyard/agent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment