Taking Docker for a spin to get to the CI world

For my current side project I am trying to learn and get a Continuous Integration (CI) server running and also take the time to learn about Docker.

I want to get a better deploy workflow from git to the different servers on bigger projects so getting going with a CI server seemed to make sense. I have Jenkins set up before but the physical size of it on one of my dropplets and also that it likes crashing made looking for something else interesting.

So I hit upon some new services in drone.io and circleci that have good SaaS offerings and free bottom tears. For a business use I think having a paid set of servers makes sense as paying to look after the servers is effort a developer does not need.

In a couple of screens I add my github key and choose a project and a deploy script, job done and no java to set up. I saw on github that the Go server for Drone was there to use and uses Docker containers to set up and build sites. This seemed a toy that could not be left unplayed.

I know some friends who have a Docker start up company and didn't really know much more about it so dove in. Now the brain workflow shift to understand building a site in containers I am closer after this. I get it for multiple stack sites that want to scale and react to traffic, but my freelance work is not that scale.

What I like is that you can add and move containers around with little script setup files, that are much smaller than a tone of VMs. As the containers are just the parts on top of the VM you are not storing so much.

Back in drone, the instructions and some youtube watching to understand docker got me a server running and pulling from bitbucket and github. My issue was understanding how to code the deploy. For that I had to learn and understand some more, as I had missed a detail, but gave me a better understanding after.

Have you been struggling knowing what to do next?

Send me your suggestion, We can advise you on the best action.

Photo:

Contributor

Tristan Bailey

Founder, Head of Development & Podcast Host, Holdingbay Full Bio

As an Independant Consultant Web Developer and Web Analyst, with over 16 years online developer experience, in ecommerce, engineering, travel, publishing and education. Planning and infrastructure work as well as mentoring and managing a team. I work to open web standards as it helps forward planning and reduces the cost and time working with a team.

Contact Tristan at holdingbay.co.uk
Tweet at @tristanbailey