Shipyard is a management tool for Docker servers.

Start Shipyard

docker run --rm -v /var/run/docker.sock:/var/run/docker.sock shipyard/deploy start

Or make the Shipyard container start every time reboot or restart Docker

docker run --restart=always -v /var/run/docker.sock:/var/run/docker.sock shipyard/deploy start

Open http://your-docker-server-ip:8080
Log in with "admin", password "shipyard"

Follow this:
https://www.digitalocean.com/community/tutorials/how-to-deploy-wordpress-with-shipyard-on-ubuntu-14-04


Problem

Can't connect to 192.168.59.103:2375 (connect: No route to host).
Allow port 2375 on Docker server Firewall

# iptables -I INPUT -p tcp -m tcp --dport 2375 -j ACCEPT
# service iptables save

Error sending to shipyard: connection refused.

Bind Docker to port 2375 or a Unix socket.

Linux Centos

Add this option into this file:

vi /etc/sysconfig/docker

other_args="-H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock"

Centos 7

firewall-cmd --zone=trusted --add-interface=docker0

systemctl restart docker

curl -sSL https://shipyard-project.com/deploy | bash -s

Restart docker
# service docker restart


Windows

boot2docker ssh

sudo vi /etc/init.d/docker

docker -d -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock

### Start the docker machine
### Do these steps whenever you start your Windows host machine and want to use docker

boot2docker up
eval "$(boot2docker shellinit)"
boot2docker ssh 'sudo /etc/init.d/docker restart'

export DOCKER_HOST=tcp://192.168.59.103:2376
export DOCKER_CERT_PATH='C:\Users\Administrator\.boot2docker\certs\boot2docker-vm'
export DOCKER_TLS_VERIFY=1
export NO_PROXY=192.168.59.103

Loading