How Boatyard.io can Improve your Docker Workflow

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.

boatyard docker registry

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:

r.tutum.co/bryanlee/hello-world-demo

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.

boatyard docker hosting

After filling out the required fields I click “Build it!” and I immediately see boatyard at work.
boatyard docker image push
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.

tutum private registry

I click Select on my hello-world-demo image and I’m taken to the configuration screen.

Docker orchestration dashboard
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:


Tutum Dashboard

And it works!

docker hosting hello world example

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!

Tagged with: ,
Posted in Features, General, Tutorial
3 comments on “How Boatyard.io can Improve your Docker Workflow
  1. Hey guys, did I miss the link to the open source project?

  2. Bryan Lee says:

    Sorry we have the link in another post about it, but here it is, https://github.com/tutumcloud/boatyard

  3. […] The first thing we want to do, is put our go_basic Docker image online on Tutum. One of the fastest way to do this is to use boatyard.io. It’s one of Tutum’s open source projects that builds your Docker image from a Dockerfile directly to the Docker registry of your choice. For more information about boatyard, take a look at Bryan’s article. […]

Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories
%d bloggers like this: