Build Minimal Docker Container Using Golang
Sangam M Biradar, Ravi Shekhar, Pranayanath Reddy Anantula · 2018
Docker is a platform which can contain `N' number of container. Each container internallyis an Encapsulation of Linux kernel feature i.e. namespaces and cgroup. Isolating the process from other process in the same server can be achieved using Namespace isolation. It is done so that it can't see certain portion of overall system. Control groups as its name describes it controls the process, memory and CPU. It also keeps track of used memory. Multiple containers are present on a Docker hub each is having its own virtual environment. It is like a multi tenancy where the Containers are shared through same host kernel but each of it has their own virtualized network adapter and filesystem. It allows to develop, deployment and management applications in efficient manner. Docker containers are developed using Go Language. Go language is used to provision to support system programming to the container. Containers are light weighted and portable, as said it is an encapsulation of an environment in which the application is to be to run. Containers are created from images. Itcontains all dependencies and binaries need for an application to run. Containerization is the new way to build, ship and deploy applications. To create a container with minimal storage is a challenging task. Here in this paper we have tried to show how to create a Docker container with minimal storage.