Enhance your Docker experience with Puppet-managed containers, featuring a suite of trusted builds for databases and PHP environments on the Docker Index.

Yet More Docker

Since my last post about Docker I have been playing a lot more, rather than use a GUI like Shipyard↗ I decided to use @garethr’s excellent Puppet Module↗ to manage and deploy my containers. This allowed me to take a better look at the builds I had over at the Docker Index↗ . The following is a list of builds I have deployed so far ….. General Containers Base↗ — Base build for use with other Docker build Jump Host- Build which can be used as a SSH jump host Database Containers MySQL 5.5 — Build which runs MySQL 5.5 MySQL 5.6 — Build which runs MySQL 5.6 PHP Containers Apache & PHP 5.4 — Build which runs Apache with PHP 5.4 Apache & PHP 5.5 — Build which runs Apache with PHP 5.5 NGINX & PHP 5.4 — Build which runs NGINX with PHP 5.4 & PHP-FPM NGINX & PHP 5.5 — Build which runs NGINX with PHP 5.5 & PHP-FPM See the GitHub Repo↗ and my Docker Index Profile↗ for more information. ...

May 4, 2014 · 1 min · Russ Mckendrick
Deploy a stable Docker setup on CentOS with Shipyard for container management, using Puppet for installation and Supervisor for high availability.

Deploying a Stable Docker Setup on CentOS with Shipyard

Been playing with Docker↗ again this weekend, this time rather than just doing for the sake of doing it I went for something a little more stable. I started off by creating a new DigitalOcean↗ droplet with the latest CentOS installed to run as a base. I then installed docker using the Docker Puppet Module↗ . So now I had Docker installed now what? I looked at some PaaS services, a bulk of them require Ubuntu (which I simply don’t do on servers), however Shipyard↗ looked good. It was simple to install; ...

April 27, 2014 · 6 min · Russ Mckendrick
Streamline Magento installations with n98-magerun, a handy command-line tool, for efficient setup and deployment of Magento with sample data.

Quick Magento Installation

As part of work I have to install Magento with its sample data a lot for proof of concepts, while the installation is simple it can quickly become a chore. Because of this I have started to use n98-magerun↗ . It can be installed using the following commands; Quick Magento Installation 1/2 c c c n u h p 9 r m 8 l o - d / m n a + 9 g x 8 e n - r 9 m u 8 / a n - n g . m 9 e p a 8 r h g - u a e m n r r a . u g p s n e h e . r a l p u r f h n - a . / u r p u p h s d h a r a t r / t t l e p o s c : a / l / / r b a i w n . / g i t h u b . c o m / n e t z 9 8 / n 9 8 - m a g e r u n / m a s t e r / n 9 8 - m a g e r u n . p h a r Once installed you can do clean installation by running the following command where you would like Magento to be installed; ...

April 19, 2014 · 2 min · Russ Mckendrick
Efficient Puppet setup on CentOS with quick deployment scripts for Puppet Master and Agents, including a GitHub repo for easy configuration management.

More Puppet

I have been playing my Digital Ocean↗ server a lot recently. Breaking it, fixing it and then rebuilding it, while I had documented my puppet installation it was getting to be a pain to copy and paste with each rebuild, so I pulled together a few scripts↗ from various sources to make the rebuilds a little less of a chore. To install fresh Puppet Master all I need to do now is run the following command; ...

February 23, 2014 · 2 min · Russ Mckendrick
A beginner's guide to Docker on CentOS, covering installation, running containers, and basic management with an introduction to Docker commands.

Docker

Been playing a little with Docker↗ this afternoon, while its something I have been aware for a while its not something I have really looked into. As I prefer working with CentOS rather than Ubuntu its taken me a while to get the motivation to do any more than some reading, however as the latest version now runs on RHE compatible Docker 1/4 y y s c u u e h m m r k v c i - i o n y c n s e f t i i a n d g l s o l t c d a k o h l e c t l r k t e p d s r : t c a o / k r n w e t w r w - . i m o i r r o r s e r v i c e . o r g / s i t e s / d l . f e d o r a p r o j e c t . o r g / p u b / e p e l / 6 / i 3 8 6 / e p e l - r e l e a s e - 6 - 8 . n o a r c h . r p m Once the services are installed pull down some images to test with; ...

February 15, 2014 · 4 min · Russ Mckendrick
Explore handy Jekyll snippets for enhancing static site generation, including unique presentation of the latest post and consistent post excerpts.

Jekyll Snippets

Had a go at converting a mostly static but dynamically rendered site to use Jekyll yesterday, it was a lot more straight forward than I thought it was going to be. As part of the conversion I needed to display the first post differently, after consulting the all knowing Google I settled on the following method; Jekyll Snippets 1/3 {% for post in site.posts offset: 0 limit: 1 %} <div class="some-style"> <a href="{{post.url}}"> <h3 class='news-title'>{{ post.title }}</h3> <span class='news-date'>{{ post.date | date_to_string }}</span> </a> <p>{{ page.excerpt }} <a href='{{post.url}}'><span class='read-more'> Read more</span></a></p> </div> {% endfor %} ...

February 2, 2014 · 2 min · Russ Mckendrick
A deep dive into using Vagrant and Puppet for setting up reproducible development environments, mirroring production with local Virtualbox instances.

Vagrant & Puppet

Vagrant allows developers to bring up local development machines in a controlled method using pre-built configuration files called boxes. Once a box has been installed on the developers local machine it can be powered on with the following command; Vagrant & Puppet 1/2 v a g r a n t u p When the box is brought up it automatically provisions itself using a number of provisioners including Puppet, this means that the production deployment scripts can also be run on local development copies of the instances. The instances on the local machines are powered by Virtualbox and there Windows, Linux and Mac versions of Vagrant. ...

January 12, 2014 · 22 min · Russ Mckendrick
My top 10 albums of 2013, a rich mix of genres with highlights from Monster Magnet, David Bowie, and more, showcasing the year's standout music.

Top 10 2013

Keeping up the yearly tradition here is what I have been listing to in 2013 …. Monster Magnet — Last Patrol↗ David Bowie — The Next Day↗ Coheed and Cambria — The Afterman: Descension↗ Gary Numan — Splinter (Songs from a Broken Mind)↗ Gregory Porter — Liquid Spirit↗ Clutch — Earth Rocker↗ Public Service Broadcasting — Inform — Educate — Entertain↗ How to Destroy Angels — Welcome Oblivion↗ Sigur Rós — Kveikur↗ Katatonia — Dethroned & Uncrowned↗ The Temperance Movement — The Temperance Movement↗

December 8, 2013 · 1 min · Russ Mckendrick