Boatyard is our open source project to create Docker images simply, no matter your source material.
For those of you that are familiar with trusted builds, wouldn’t it be great to have your own trusted builds behind the firewall?
Wouldn’t it be great if you could build Docker images but not have to push them to the public Docker registry/Hub?
Wouldn’t it be great if you could push them to a third party registry, like Quay.io or Tutum, or your own personal registry?
That’s what boatyard does.
We use boatyard internally all the time. We thought we would provide it as a free service for anyone, as a way to give back to the fantastic Docker community.
Boatyard allows you to do builds for Docker in a programmatic and simple way with an API. Boatyard basically wraps “Docker build” as a web interface and API.
You can run this on your laptop, on your servers, and behind your firewall. Boatyard is a versatile tool that we’ve integrated into our own workflow here at Tutum.
I’m going to walk through how to use it. It’s accessible from boatyard.io, and has a simple UI.
First, I fill out where I want the image to be pushed, and the image name I want.
For this walkthrough I want to send this hello-world-demo image to my own personal private registry in Tutum with the image name of “hello-world-demo”
I fill out the field as follows:
I type in my username and password. In this case since I’m pushing it to Tutum’s registry, I use my Tutum username and password.
I then specify from what source I want to create an image from. In this example I’ll be using GitHub, but we can also build images from Dockerfiles and from Tarballs.
In this case I want to deploy an Apache web application that will display “hello world.” I know that it’s located in tutumcloud’s GitHub repository.
After filling out the required fields I click “Build it!” and I immediately see boatyard at work.
After logging into Tutum and clicking on Launch an application, I can find my freshly pushed image. Taking a look at my private registry, it’s right there with my other private images.
I click Select on my hello-world-demo image and I’m taken to the configuration screen.
I click launch, and within a few seconds the application is deployed. I can click on the web address and access my application from the web:
And it works!
I hope you can use this guide to help you improve your workflow while using Docker. I know it’s greatly benefited our team internally. Enjoy!