A Complete Chef Infrastructure on Your Laptop

  tl;dr An automated setup of a Chef infrastructure ready to develop on. Can be used to: Develop cookbooks offline Train users in Chef Simulate Chef ‘search’ code (the original impetus) Test cookbooks Known to work on Mac and Linux. Requires: Vagrant Virtualbox Vagrant landrush plugin vagrant plugin install landrush ShutIt – [sudo] pip install shutit Video … Read more

A Checklist for Docker in the Enterprise (Updated)

Overview   Docker is extremely popular with developers, having gone as a product from zero to pretty much everywhere in a few years. I started tinkering with Docker four years ago, got it going in a relatively small corp (700 employees) in a relatively unregulated environment. This was great fun: we set up our own … Read more

OpenShift 3.6 DNS In Pictures

Container Networking is Hard Enough… To those not versed in the dark networking arts, one of the mysteries of OpenShift (RedHat’s wrapper around Kubernetes) is how a pod communicates with the outside world. This article is more about DNS on clusters, but the point is the same: things can get pretty complicated pretty quickly. Let’s … Read more

Puppeteer – Headless Chrome in a Container

What is Puppeteer? Puppeteer is another headless Chrome library, this time maintained by the Chrome DevTools team. You can play with it online here. The api is here. Examples are here. Docker Image I’ve created a Docker image of it so you can get playing with it. The image is available on the Docker Hub: … Read more

Run Your Own AWS APIs on OpenShift

  tl;dr This article shows you how you can use OpenShift to set up and test against AWS APIs using localstack. Example code to run through this using ShutIt is available here. Here’s an asciicast of the process: Introduction In this walkthrough you’re going to set up an OpenShift system using minishift, and then run … Read more

Dockerized Headless Chrome Example

For those of us obsessed with automation, the PhantomJS library was manna from heaven, allowing you to programmatically automate web interactions against a ‘real’ web browser without need a screen to interact with. Earlier this year, the principal maintainer announced that he was stepping down from the project in favour of ‘Headless Chrome’. Headless Chrome is … Read more

Convert a Server to a Docker Container (Update II)

How and Why? Let’s say you have a server that has been lovingly hand-crafted that you want to containerize. Figuring out exactly what software is required on there and what config files need adjustment would be quite a task, but fortunately blueprint exists as a solution to that. What I’ve done here is automate that … Read more