Chapter02 Flashcards

1
Q

What is a container image ?

A

A container image is a binary package that encapsulates all of the files necessary to run a program inside of an OS container.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Container images are typically combined with…

A

A container configuration file, which provides instructions of how to set up the container environment and execute the application entry point.
The container configuration often includes information on how to set up networking, namespace isolation, resource constraints (cgroups), and what syscall restrictions should be placed on a running container instance. The container root filesystem and configuration file are typically bundled using the Docker image format.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which categories containers can be grouped ?

A
  • System containers

- Application containers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are system containers ?

A

Systems containers seek to mimic virtual machines and often run a full boot process. They often include a set of system services typically found in VM, such as ssh, cron and syslog.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are application containers ?

A

Application containers commonly run a single program. While running a single program per container might seem like an unnecessary constraint, it provides the perfect level of granularity for composing scalable applications and is a design philosophy that is leveraged heavily by Pods.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly