Images Flashcards

1
Q

What is the releation between container and image?

A

Image is like a stopped container

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

What an image contains?

A

It contains all the OS and application files and dependencies to run

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

Where images lay on the system ?

A

/var/lib/docker/

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

What is image registry?

A

Registry is the placed where images are store

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

How many tags and image can have ?

A

Multiple tags

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

What is a dagling image?

A

A dangling image is an image that it is not tagged anymore

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

How to search for an image?

A

docker search image

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

How to search for official images?

A

docker search –filter

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

From what the docker images are composed of ?

A

It is composed from loosely composed layers.Docker stacks them and represents them as a unified layer.Initially a base image is created and other layers are added at the end.

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

How to inspect layers which compose a docker image?

A

you can use docker image inspect.

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

What is the role of storage driver/snapshot driver?

A

The role of snapshot driver is for stacking the layers and create a unified layer.

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

How to mitigate the fact that tags are mutable?

A

Use the provided hash

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

Does docker support multi–architecture>

A

Yes

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

With which structs multi architecture is supported from the registry?

A

The registry contains two constructs:

a) Manifest
b) Manifest lists

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

What is manifest lists?

A

It is a list of the supported architectures for a certain image tag.

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

What is manifest?

A

Each manifest has its own list of the layers of the images for a particular architecture.