Timedora
Free Online Flashcard Deck

3 Containers and Containerization Free Online FlashCards

Study 3 Containers and Containerization with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What is a container?

Back

A container is an application process running in an isolated environment on a host operating system.

02
Front

What is a container image?

Back

A container image is a read-only packaged template containing the files and configuration needed to start an application.

03
Front

How does a container differ from an image?

Back

An image is the packaged template; a container is a running or stopped instance created from that template.

04
Front

What is one benefit of building images in layers?

Back

Image layers can be reused when building or downloading related images.

05
Front

Where do changes made by a running container go?

Back

Changes made while a container runs go into a separate writable layer; the image itself remains unchanged.

06
Front

Why doesn't an image tag guarantee the same image every time?

Back

A tag is a human-readable image label, but it can be reassigned and therefore may not always select the same image.

07
Front

What does an image digest identify?

Back

A digest identifies particular image content more precisely than a tag.

08
Front

What is a container registry used for?

Back

A container registry stores and distributes images. Repositories in a registry contain images identified by tags or digests.

09
Front

How can you reduce risk when using container images?

Back

Use trusted publishers, verify image identity where appropriate, and keep images updated; a familiar image name alone does not prove trustworthiness.

10
Front

What does a container runtime do?

Back

A container runtime configures the isolated environment and resource controls, then starts and manages the application process.

11
Front

In `docker run --name web -p 8080:80 nginx:latest`, what does `-p 8080:80` do?

Back

The command maps host port 8080 to container port 80, allowing traffic on the host port to reach the container port.

12
Front

How do containers and VMs differ in their use of kernels?

Back

Containers generally share the host kernel; a VM runs a guest operating system with its own kernel.