Containers and Images Flashcards
What is in an image made of?
App binaries
App dependencies
Metadata and file system changes about the image data and how to run it
How are additions added to an image
Blank layer known as ‘scratch’
All changes are another unique layer
Benefits by never storing the same layer more than once
What is copy on write?
When a change to file on the parent container gets copied and diffs to child image containers.
What is a tag?
Tags are for an image ID, generally a version number, sometimes there is a name
To give your tag to a public hub image
docker image tag nginx calvinlang/nginx
What is a good reason for building from Debian, Ununtu Fedora or Centos?
Includes Package Managers like apt and yum
&& in a dockerfile
Is a command that fits a single layer
How is logging managed in docker?
Spits out to STD output