Override Systemd Config


I was faced with the task of enabling the remote API for Docker. Whilst trying a few different solutions (adding hosts to daemon.json), I quickly learnt that I needed to pass parameters to the dockerd command like /usr/bin/dockerd -H tcp:// -H unix:///var/run/docker.sock. As I’m using Systemd I knew I needed to edit the service file, but I was also mindful that any future updates to Docker would blow my changes away.

Vagrant, Amazon EC2, Docker and Microservices pt4.

              · · · · · · ·

The Microservice For this tutorial I’m going to use a spring boot application that will help us prove the concepts behind this tutorial. There are loads of microservice frameworks to chose from, but for this tutorial we will use Spring Boot. Maybe in the future I will look at trying out some other popular frameworks. Links to the Spring guide are given at the bottom of this tutorial. At this point we could cheat and do everything in Gradle.

Vagrant, Amazon EC2, Docker and Microservices pt3.

              · · · · · ·

Part 3 - a bit of back pedaling After thinking about the ‘hack’ I put in to get Puppet installed on the box before I could use it, I felt a little dirty, and decided that maybe Puppet wasn’t the best decision after-all. So, the problem is that I need an agent installed before I can provision my box, but I’m trying to automate the provisioning - catch 22. Here’s where Ansible has really stepped up.

Vagrant, Amazon EC2, Docker and Microservices pt2.

              · · · · ·

Part 2 In the first part of this tutorial, we showed how to use Vagrant to automate and manage an Amazon EC2 instance. We defined a simple Vagrantfile to specify certain attributes for an instance to run, and got it running using Vagrant’s command line tools. In this part of the tutorial, we’ll be using Puppet to define and automate the configuration details for our instance. This way, whenever we start up the environment with vagrant up, it will be set up to run Docker without any additional manual configuration.

Weekly Links Roundup


Vagrant How to deploy on Amazon EC2 with Vagrant Automated Deployment of AWS EC2 Instances With Vagrant and Puppet Docker baseimage-docker Noteworthy devops bookmarks

Vagrant, Amazon EC2, Docker and Microservices pt1.

              · · · · ·

Microservices are all the rage at the moment, but from my experience they just move the bottleneck. Yes, the speed of development increases massively, but it does so at the cost of an increased dependency on the Build and Ops guys. This blog series is about using Docker to run a complete and fully functional microservice in the cloud using Vagrant, Amazon AWS and Docker. The goals are as follows: