Installing Redis on Docker

Originally published at http://johnmcostaiii.net/2013/installing-redis-on-docker/ At the time when this article was written, Docker’s version was 0.1.2. Some details may have changed. You’ll need to have an functional version of docker to follow these steps. I’ve included an overview of my notes for installation, however you can find additional installation instructions at the docker website. Introduction to Docker If you’ve already worked with docker, you can skip this part. You already have docker installed and probably are running your own containers. If you haven’t, here’s a general overview to a handful of docker commands. Please read on. I’m working on a MBA, so I ran through the MacOS instructions which are repeated below. It will require that you already have VirtualBox and Vagrant already installed. If you don’t have these, you can find the getting started docs here. First clone the Continue reading…

Solomon Hykes

First demo video: containerizing Postgres 9

Hi all, Here’s a video going over the Postgres install we did with Ted at the last meetup. https://dl.dropbox.com/u/2768314/docker%20demo%201%20postgres.mov A quick overview of what happens there: 1. Upload a base ubuntu quantal image 2. Run a container from the base image, generate locales, commit the changes to the image 3. Run a new container from the upgraded base image, install postgres, commit a new ‘pg’ image 4. Run a pg container, tweak the configuration, commit. 5. Run a new container, create a dummy database and table, commit. 6. One more throw-away container, run the init script to figure out the full command-line. 7. Run the container with the command-line. It works! You now have a reusable postgres container. Total time: 6mn.