Images Flashcards
What is the releation between container and image?
Image is like a stopped container
What an image contains?
It contains all the OS and application files and dependencies to run
Where images lay on the system ?
/var/lib/docker/
What is image registry?
Registry is the placed where images are store
How many tags and image can have ?
Multiple tags
What is a dagling image?
A dangling image is an image that it is not tagged anymore
How to search for an image?
docker search image
How to search for official images?
docker search –filter
From what the docker images are composed of ?
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 to inspect layers which compose a docker image?
you can use docker image inspect.
What is the role of storage driver/snapshot driver?
The role of snapshot driver is for stacking the layers and create a unified layer.
How to mitigate the fact that tags are mutable?
Use the provided hash
Does docker support multi–architecture>
Yes
With which structs multi architecture is supported from the registry?
The registry contains two constructs:
a) Manifest
b) Manifest lists
What is manifest lists?
It is a list of the supported architectures for a certain image tag.