Docker from Scratch, Part 4: Compose and Volumes

 
In the last post, we’ve created a repeatable web server container using a single file, the Dockerfile. While this is great, there’s one big limitation to a Dockerfile: It can only create one container. Docker containers are also only intended to run one process. What do we do if we want to run a web server, and a database, and a Solr instance, and a… We’d need to create a Dockerfile for each server process. Given that we’d need to call the Docker “run” command for each container, building...

So much to say, so little me to say it with

 
Today has been 2015-08-20 and it feels a long way from the 10th. On the 10th I had two assignments due, one of which I got done and submitted that morning. Also that morning, a call from the municipal council's HR about the job I had interviewd for the week before - references from my current position were unacceptable due to conflict of interest, being from my current employer and therefore also the employer I was hoping to get the new job with. I had not any other current references; they said some...

Docker from Scratch, Part 3: Entrypoints and Ports

 
In the last post we used the RUN statement in our Dockerfile to setup and install software in our container. This saves us the trouble of creating build scripts that we need to run each time we start the container. We still have to specify the command to run when we start the container. What we want to do is eliminate that so we have less to remember each time we use the container. Background vs. Foreground Processes When a container is run, only a single process is run within it. Containers are less...

Docker From Scratch, Part 2: Dockerfiles

 
In the last post, we pulled an ran a Docker container from the command line. Even though we only needed a few commands, it can become tedious to run the same lengthy command over and over each time we want to work with our container. Worse, such repetition is prone to error. One thing we want from Docker is a repeatable environment: something that builds the same way each time we build it, on each system we build it on, for all the developers on our team. You might be tempted to just put everything...

Docker from Scratch, Part 1: Installing and your First Container

 
The last few months I’ve been engaged in a quest to understand something new to me. Since the mid-2000s, I’ve been using virtualization technologies to run classroom environments, test software, and run local web servers for development. First, it was using VMware Player, then Server, and today everything I virtualize runs on the open source Virtualbox. So when I heard about containerization, I was stunned. “How can you start tens of virtualized instances in only seconds? It’s unreal!” And...

But I do love the show a lot of the time

 
On the drive home today I listened to the episode of Planetary Radio covering SpaceShipOne's claiming of the X Prize, from way back in October of 2004 (why yes, I am behind on a great many things). The bulk of it held interviews with private industry types and a lot of overwrought language which annoyed me about how important what they did is. Stuff like suggesting NASA and major aerospace corporations are now thinking "we're screwed" in the face of SpaceShipOne. Because I have a helluva lot...

Oldnewal

 
Been feeling that I should treat this as if I am starting a whole new blog from scratch. Which does not mean I am about to go on any sort of introductory spiel as that has not ever I think been my style. But I should accept that these days there are few who would still be reading. A lot of the community that was here has been lost, or destroyed by myself. So, starting over. Just going to talk about whatever to myself. But these days I am so tired I doubt I will be saying much anyway. Work days tend...

Mixed mismatched

 
Last time I wrote here -- a whole month ago -- I had wanted to follow up soon with something about events which were then more recent. Wanted to write about the additional neat thing of new bilingual picture books at the library being interfiled among the main English picture book collection. However it turns out just as well I did not do so, as I since discovered they are not supposed to be; it is something the contractor the library does its purchasing + pre-processing through filing them that way,

This one is from a week or two back now

 
A couple of days ago at the library we got a small number of new junior fiction books, among the rest of the new book deliveries. Was excited to see a couple of books appearing to feature black girls as their protagonists, one I think African American and one Aboriginal Australian. Bit less excited when in attempting to do some research prior to communicating this excitement I find the North American is by Meg Cabot and in fact is a spin-off of the Princess Diary series featuring Mia's sister, and the...

What have I done?

 
[title to be read in a tone of horrified realisation] I had a memory tonight and I want to scream. It's about the end of the world. I was remembering the week of the zombie apocalypse. Sometime not long before I had actually 'come out' the deputy head (or possibly by that point he was the head?) of the library program I was enrolled in, advised that I was going to start presenting as female or something like that. I don't know how I did it. And I think it was the day itself. Maybe I am...