Docker Article in Linux magazine

I've just had an updated version of my Docker Swarm on the Raspberry PI tutorial published in Linux User and Developer magazine issue 163. This was great timing as it co-incided with the official #DockerSwarm week. In the UK the magazine is sold on the shelf in WHSmith's, but if you've missed it you can get the 4-page tutorial in the digital PDF edition below:

Linux User and Developer: Issue 163

@Docker re-tweets post!

Here is a taster of the first page.

How did it come about?

As I mentioned in a previous article, I met two people from Linux User and Developer magazine in December at PiWars in Cambridge. Gavin and Rebecca looked over my blog and asked me to adapt my initial Swarm tutorial for the magazine's "RasPI" section.

When I submitted my initial draft I thought that I would need to re-phrase certain parts and maybe work through a bunch of alterations, but most of the effort was actually adapting the tutorial into small steps. I think that breaking the tutorial down into 70-word steps made the content easier to follow and prompted me to write some shell scripts to help get everything set up.

As part of the work I produced a distributed web application using Node.js and Redis fronted by Nginx as a load balancer. You can find out more about this in the tutorial or over on Github below.

My stack of 7 Raspberry PI Model 2s running Docker Swarm

If you write for a blog already, or have some free time to invest I would recommend getting in touch with a magazine and pitching a few ideas. They may be able to offer you some kind of freelance work. I thought it was great being able to say I had something published in a glossy magazine available on the high-street.

Trying Swarm on Raspberry PI

You only need two PIs to get something working, but if you put three together then it starts to become even more interesting and useful.

Note on the PI Zero: I would recommend sticking with the PI 2, but the Zero can also be made to work with some tweaking (add swapfile) and I've uploaded some scripts and images for that too.

  • Go to docker-arm on Github for the code and write-up
  • Or Linux User and Developer Issue 163 for the digital edition of the tutorial

See also: Hands-On Docker

Check out my new blog post on Hands-On Docker

Get hands-on with Docker through a dozen self-paced and progressive labs.

Alex Ellis

Read more posts by this author.

Subscribe to Alex Ellis' Blog

Subscribe to keep in touch. By providing your email, you agree to receive marketing emails from OpenFaaS Ltd

or subscribe via RSS with your favourite RSS reader

Learn Go with my new eBook

eBook cover

"Everyday Go" is the fast way to learn tools, techniques and patterns from real tools used in production based upon my experience of building and running OpenFaaS at scale.

Buy a copy on Gumroad