Docker & Swarm; terminology Flashcards

1
Q

What is Docker?

A

Operating system virtualization technology that provide services via applications installed in isolated “containers”

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

What is a Docker Image?

A

A template that a Docker Container uses to provide services. It will specify operating system, programs and any special code or scripts.

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

What is a Docker Container?

A

A runnable instance of a Docker Image, and which users actively are provided services from. For example, with node-red, a “Container” is actively running an node-red docker “Image” (template), and is used to develop and execute various integrations.

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

Why use Docker?

A

Automated and repeatable builds. Simplified development environment setup. Changes to environment trackable at code level.

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

What is Docker Compose?

A

A way to manage a suite of Docker Containers used to provide a collective service. For example, there may be separate images for the database, the web application, and other dependent applications used to support a web site. Docker compose can bring them all up and down simultaneously, respecting dependencies.

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

What is Docker Swarm?

A

Docker’s built-in container orches­trator solution. It manages containers in a cluster: a set of connected computers that work together.

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

What is a single-host Swarm?

A

A single server instance acts as host. In this case, there isn’t a server cluster to manage. Yet, various multi-container services can still be effectively managed with respect to resource utilization.

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

What is “node” in a swarm?

A

One of the docker servers in the docker cluster.

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

What is a “Manager Node” vs a “Worker Node” in a swarm?

A

One of the docker nodes (servers) in the cluster is designated to manage the swarm: this is the manager node. The rest are execute tasks, and are worker nodes, which is the default type of node.

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

What is a “stack” in a swarm?

A

Collection of services, or docker containers, that make up an application.

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

What is a “Service” in a swarm?

A

Configuration details, including Docker Image, that containers will use when they run.

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

What is a “task” in a swarm?

A

Docker related commands that containers will execute

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