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.
Containers Made Easy part 1 When you type containers or docker into any search engine you will get a lot of pages about using docker and comparing it with virtual machines. Writing another post just about it would be waste of mine and more important your time. So I would like to do it in a bit different (and probably a lot longer) way. General idea is to write series of posts where I’ll show you how to write your own container engine that is capable of running docker images.