Containerization and Role in CI CD Flashcards

1
Q

What is a container?

A

Containers allow any application to be stored in a self-contained environment called a container. The container runs on top of an operating system which is shared among multiple containers, making the environment very efficient.

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

Can multiple apps run on one operating system?

A

Yes.

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

Are containers virtual machines?

A

No! There is a clear distinction: a virtual
machines give a separate operating
system to each application whereas
multiple containers can share an
operating system

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

Containers in CI CD

A

Containers are used in the local environment so different developers all have access to the same environment. Containers are also used to deploy production apps.

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

What is a Docker image?

A

A Docker image is a static, read-only template that contains a set of instructions for creating a Docker container.

It provides the environment setup, software, libraries, and dependencies that will be installed in the container.

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

How are Docker Images built?

A

Images are built from a Dockerfile,
which is a script composed of various
commands and arguments that define
the operating system, libraries,
environment variables, and files.

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

Where are Docker Images stored?

A

Images are often stored and shared through Docker Hub or other container registries, allowing them to be reused by others.

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

What is a Docker Container?

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