Docker Flashcards

1
Q

A container is a runtime instance of an i_._.

A

A container is a runtime instance of an image

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

A c________ is a runtime instance of an image

A

A container is a runtime instance of an image

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

C________s package software into standardized units

A

Containers package software into standardized units

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

H________s are software that manages physical resources on a server

A

Hypervisors are software that manages physical resources on a server

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

The major benefit of containers is that you can ship and run applications everywhere because containers b________ everything that the application needs to run.

A

The major benefit of containers is that you can ship and run applications everywhere because containers bundle everything that the application needs to run.

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

The docker d_____ is a process running in the background that is responsible for managing containers, images, networks, and volumes.

A

The docker daemon is a process running in the background that is responsible for managing containers, images, networks, and volumes.

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

The docker clients (docker desktop or docker CLI) communicate with the docker d_____ to perform actions on or with containers.

A

The docker clients (docker desktop or docker CLI) communicate with the docker daemon to perform actions on or with containers.

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

Docker images can be stored in r________s in the cloud via DockerHub

A

Docker images can be stored in registries in the cloud via DockerHub

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

When a container is launched, it gets one final layer called the w________ layer that is used for local storage

A

When a container is launched, it gets one final layer called the writable layer that is used for local storage

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

When two containers are launched from the same image, this w________ layer is what distinguishes them from one another.

A

When two containers are launched from the same image, this writable layer is what distinguishes them from one another.

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

The writable layer is not p________ and is lost between starts and stops.

A

The writable layer is not persistent and is lost between starts and stops.

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

docker images are r____-only and i________able

A

docker images are -> read-only and immutable <-

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

Docker supports a temporary filesystem called t____s, which is stored in memory (RAM)

A

Docker supports a temporary filesystem called tmpfs which is stored in memory (RAM)

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

B____ m____ maps a host folder to a container folder, allowing the container to access files on the host.

A

Bind mount maps a host folder to a container folder, allowing the container to access files on the host.

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

V_____s are persistent storage that are managed by docker but utilize the host machine. They allow you to create persistence storage that exists outside of the lifecycle of an individual container.

A

Volumes are persistent storage that are managed by docker but utilize the host machine. They allow you to create persistence storage that exists outside of the lifecycle of an individual container.

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

Containers on the same b____ network can communicate with one another but can’t be reached from outside the docker host without port publishing.

A

Containers on the same bridge network can communicate with one another but can’t be reached from outside the docker host without port publishing.

17
Q

P____ p____ing maps a host port to a container port on the bridge network. This allows requests made to the host port to access the container port and the running process within it.

A

Port publishing maps a host port to a container port on the bridge network. This allows requests made to the host port to access the container port and the running process within it.

18
Q

by utilizing a b_____ network, multiple containers can share the same port number. However, to make them accessible from outside the internal network, the port must be mapped to unique and unused ports on the host machine.

A

by utilizing a bridge network, multiple containers can share the same port number. However, to make them accessible from outside the internal network, the port must be mapped to unique and unused ports on the host machine.