Containers
Container technology is not new to the Linux world. Containers are based on Linux's LXC technology. In this section, let's see how containers are important in the case of microservices.
What are containers?
A container is a piece of software in a complete filesystem. It contains everything that is needed to run: code, runtime, system tools, and system libraries--anything that can be installed on a server. This guarantees that the software will always run in the same way, regardless of its environment. Containers share their host operating system and kernel with other containers on the same host. The technology around containers is not new. It has been a part of the Linux ecosystem for a long time. Due to the recent microservice-based discussions around it, container technology came into the limelight again. Also, it is the technology on which Google, Amazon, and Netflix runs.
Suitability of containers over virtual machines
Let's understand the difference between containers and virtual...