Evolving to containers
While we have seen an isolated example of how we can use containers to deploy something very quickly, the most important thing is to understand the need and the ability to run the applications in containers.Â
Containers improve portability between the different environments and even different distributions of the OS, as long as we have a common kernel. Containers are also very light and can quickly be spun up and down. For these reasons, containers are the number one choice for developing modern applications with a microservice architecture.Â
Now, technically a container is a combination of the namespaces offered by the Linux Kernel (Windows containers with Docker for Windows were launched with Windows Server 2016, after introducing the microkernel for Windows).Â
The one major component in this is container networking, as the containers need to talk to each other. In the following section, let's talk about container networking, as this will be the underpinning service...