Question-21: What is the use of container configuration files?
Answer: Container configuration files are always available with the container and they provides instructions on how to setup the container environment and execute the application entry point. Which has information like
- How to setup Networking
- How to setup namespace isolation
- How to setup resource constraints like (cgroups)
- What should be the syscall restrictions should be placed on a running container instance.
Both Container root filesystem and configuration files are typically bundled using the Docker image format.
Question-22: What are the main categories of the containers?
Answer: Containers fall into two categories as below
- System Containers
- Application Containers
Question-23: What do you mean by System Containers?
Answer: You can assume System Containers are somewhat similar to virtual machines and often run a full boot process. And often includes the system services like ssh, cron, syslog etc. However, it is avoided to create system containers now a days.
Question-24: What is application Containers?
Answer: Application containers are different from System containers and they usually run single programs. And provides the granularity for creating scalable applications.
Question-25: Now can you further add detail, what is Kubernetes?
Answer: Yes, now we can say that Kubernetes are more of building and deploying distributed system which is made up using application containers.