Browsed by
Category: Docker

Rancher Application Pipeline

Rancher Application Pipeline

Rancher Labs has invited me to give a demo during their Web Meetup on Wednesday 07/27/2016. I’m presenting the Application Pipeline we have build at LeanKit. Github, Drone CI and Rancher. Disclaimer: A lot of this code is specific to how WE do things. It may or may not work out of the box for you. YMMV Presentation Video – My Part starts at about 1:23:00 Rancher-Application-Pipeline-Demo Demo Code vote-demo-web vote-demo-worker vote-demo-results Example Rancher-Catalogs These are built using the drone-rancher-catalog…

Read More Read More

Configure Storage on the Fly with Puppet 4

Configure Storage on the Fly with Puppet 4

Here’s a snippet of puppet I’m using to configure storage. Now whenever I add new disks to the instance, puppet will expand the storage for me. I apply this before I install the docker-engine package. package { ‘lvm2’: } $::disks.each |$d, $v| { if ($d =~ /^sd[c-z]+/) { # Create pv if not a pv exec { “/sbin/pvcreate /dev/${d}”: unless => “/sbin/pvs –noheadings /dev/${d}”, } # Create VG if not exists exec { “/sbin/vgcreate ${vg} /dev/${d}”: unless => “/sbin/vgs ${vg}”,…

Read More Read More

Convert an Existing WordPress Site to Docker

Convert an Existing WordPress Site to Docker

I had a “classic” install of WordPress, Apache/PHP, and Mysql installed on the root drive, that I wanted to convert to Docker containers. Why? Install Installing is easy. Installing and starting publicly available images is a single docker run command. Maintain With a little bit of planning updating your apps is a simple process. docker pull the latest image. docker rm -f the current container (remember to use volumes on data you need to save). docker run with the same…

Read More Read More