Some more backstory on the Pi Swarm I was really excited when Amazon announced their Lambda offering. I thought that it was an awesome idea, but for the lack of an open solution and that it locked you into javascript. I believe that using Docker, we can have a relatively simple Amazon Lambda work-alike which …
Category Archive: Raspberry Pi
Apr 12
Docker Commandline Arguments are Context Sensitive
TL;DR: Position of the commandline arguments matter. `-v` before `run` means something totally different than `-v` *after* `run`. More details below the link.
Apr 07
Cron the Eater of (CPU) Time
Note: This behaviour was observed on a Pi B+; it was not observed on a Pi 2. I happened to have top up while doing the bonded Nic test and noticed that the load was awfully high. Then the following popped up: Cron pretty much has the CPU pegged. Once I saw this, I wondered …
Apr 07
Swarming Raspberry Pi: Of Network Bondage
Apologies to W. Somerset Maugham for the title. For my Cloud in a Box, I want the Data hosts, at the least to have “more” network I/O capability, whether it be for a Docker Registry or other data. (As an aside, I am playing with doing substructure matching of chemical compounds and/or other Cheminformatics with …
Apr 06
Why it’s Important to use TLS with Docker Swarm
There is nothing wrong with your docker host. Do not attempt to adjust the picture. We are controlling transmission. If we wish to make it louder, we will bring up the volume. If we wish to make it softer, we will tune it to a whisper. We will control the horizontal. We will control the …
Apr 05
SSD on a Raspberry Pi
As a part of building out the Cloud in a Box, I wanted some storage for Docker images, as well as data. Based upon my previous experience, I believed that a SSD would be faster than a Micro SD, but I hadn’t tested it as yet. The challenge from Dieter Reuter (@Quintus23M), asking how I’d …
Apr 03
Swarming Raspberry Pi: Docker Swarm Discovery Options
Docker Swarm supports a variety of methods for discovering swarm members. Each has arguments in its favor. In this post I shall discuss the various methods and thoughts regarding each. Background I originally started with the idea of having a portable cluster, a “cloud in a box” if you will, so that I could go …
Mar 29
Swarming Raspberry Pi, Part 2: Registry & Mirror
This episode will consist of a quick aside to build a Docker Registry Mirror. Previous: Part 1 Why Do We Need a Mirror?? The Docker Registry is, to my mind, one of the greatest contributors to the rapid growth of Docker. Having a central location for images encourages sharing and re-use. Obviously some images are …
Mar 22
Registrator for Pi: /gliderlabs/registrator ported to Pi
I’ve made a port of gliderlabs/registrator to the raspberry pi. The repository for the Pi port is at: nimblestratus/registrator. At first glance, the part I find most interesting is the size of the resulting image — ~12M. I firmly believe it’s a direct result of starting from Alpine Linux. This will definitely warrant further investigation. …
Mar 22
Consul for Raspberry Pi is Alive
This version is forked from http://github.com/progrium/docker-consul and runs on the Raspberry Pi. Thanks to Jeff Lindsay for all his hard work. I am merely standing on the shoulders of giants. This initial version is a bit largish — ~500Mb; I think it’s mostly due to needing a go build environment. I think I can use …