Play With Kubernetes Quickly Using Docker (Updated)

Summary

This is an update to a previous post where I went over some Kubernetes basics and showed how to get it working using Docker.

It’s worth reading that before this if you need a primer.

I’ve updated the code so you can play along more easily, and tinker using Vagrant and Virtualbox.

Try it!

With three commands you can watch Kubernetes play out in front of you:

sudo pip install shutit
git clone --recursive <this repo>
./run.sh

Here’s a video:

Code

Here’s the code

Play

If you want to play along, run:

./run.sh --interactive 2

and follow the instructions.

Or just hit CTRL-C to get a terminal during the run.

 

This post is based on material from my book Docker in Practice

DIP

Get 39% off with the code: 39miell2

One thought on “Play With Kubernetes Quickly Using Docker (Updated)

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.