Architecture Overview Flashcards

1
Q

The Docker daemon handles:

A

. Building
. Running
. Distributing

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

What type of architecture id Docker:

A

Client-server

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

Client talks to the:

A

Docker daemon

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

Both communicate using a REST API:

A

. UNIX sockets

. Network interface

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

Docker daemon:

A

dockerd

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

Docker daemon listens for Docker API requests and manages Docker objects:

A

. Images
. Containers
. Networks
. Volumes

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

Docker client:

A

docker

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

How users interact with Docker:

A

Docker client (docker)

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

Sends commands to dockerd:

A

Docker client (docker)

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

Docker registries:

A

. Stores Docker images
. Public registry such as DockerHub
. Let you run your own private registry

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

Docker objects:

A

. Images
. Containers
. Services

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

Images:

A
. Read-only template with instructions for creating a Docker container.
. Image is based on another image
. Create your own images
. Use images published to a registry
. Use a Dockerfile to build images
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Containers:

A

. Runnable instance of an image
. Connect a container to networks
. Attach storage
. Create a new image based on its current state
. Isolated from other containers and the host machine

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

Services

A

. Scale containers across multiple Docker daemons
. Docker Swarm
. Define the desired state
. Service is load-balanced

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

Docker Swarm:

A

. Multiple Docker daemons (Master and Workers)
. The daemons all communicate using the Docker API
. Supported in Docker 1.12 and higher

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