Skip to content

alexellis/docker-blinkt-workshop

Repository files navigation

Docker and IoT

Get into physical computing with the Pimoroni Blinkt! add-on

  • The Raspberry Pi is a low-energy microcomputer the size of a credit-card and has sold over 10 million units educating children and inspiring makers alike.

  • With the Pi, you'll be building, shipping and running Docker containers in no time and learning how to interact with physical hardware to create your own IoT devices.

  • You will also get a chance to play with Docker Swarm on your Pi to deploy a micro-service. And, you will take home a free Raspberry Pi Zero kit, including a super bright Pimoroni Blinkt! 8-LED RGB add-on.

Discount on hardware for this workshop

This workshop was originally designed for Dockercon 2017 in Austin. You can read the workshop notes and get a 10% discount off the hardware kit here: Dockercon 2017 - Captain's Log.

Pre-requisites

  • Install a text editor

If you don't usually work with code then please install one of the following cross-platform text-editors:

For Windows users

  • Install Git for Windows

Please go ahead and install Git for Windows so that you have access to ssh, scp, sftp and a terminal:

https://git-scm.com/downloads

  • Install Bonjour networking service

The Raspberry Pi uses Apple's Bonjour/Avahi service to advertise its IP address. You will need to install Bonjour which is packaged in the following download. If you have iTunes installed you should already have the Bonjour service installed and started.

If you struggle to setup Internet Connection Sharing because you're on Linux or a picky WiFi network then please follow the guide for configuring a Proxy server.

Workshop format

This is a self-paced workshop designed to be followed in a class or individually. It starts with Part 1 which involves setting up the Pi and Blinkt LED board then moves onto building Docker images, programming the LEDs and creating up a cluster.

The final part involves putting everything together to create an application. If you're taking part in a class you can do this last part individually or pair up.

The hardware you need is described in Part 1 - Setup and you can get a 10% discount from Pimoroni if needed.

Class notes:

We will have TAs on-hand to help out. Please let us know if you need help or if things aren't working right.

Flash Raspbian, configure OTG networking and Internet Connection Sharing, then install Docker.

Run your first ARM Docker container, learn about base image differences and prepare to work with GPIO.

Get familiar with the Blinkt and start hacking

Understand how to create a Web application in Python and an IoT LED server

Put everything you've learnt into practice on a larger application.

Find out how to use your Pi Zero at home and where to find more great content.

Get in touch

You can follow me on Twitter @alexellisuk or read more about Docker and Raspberry Pi on my blog.

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages