Containers Made Easy part 2 Handling Docker image format In a previous post I’ve described briefly what is a container. Now it’s time to get dirty and build some real stuff. In this part we will focus on the format used to pack images and Docker registry API for pulling content. At the end of this post you will have working code that is capable of downloading some images (tested just few popular ones), unpacking all layers and mount them somewhere into file system.
Choose Your Weapon Before we start digging into software development world and creating own admin tools we should choose a programming language. I want to write about language I’ve chosen for myself few years ago, Go. I don’t say that this is the language that you should use, but I’ll try to convince you in this post why this might be a good idea. Also most of my posts about software development will be in Go.