dockers Flashcards

1
Q

what is docker ?

A

docker is an open source software that allows people to easily create, deploy, and run applications by using containers (virtual-machine-as-code).

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

what is docker image

A

docker image: its a binary that allows docker to kick off a machine with all its pre-defined settings (docker run)

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

what is docker container

A

docker container is an instance of an image. An image can have multiple instances running at the same time all executing same code however can have different ip addresses and data volume access.

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

what is docker repository

A

docker repository is a repo where all images are stored and fetched from. docker hub is public repo. similarly companies can have their own docker repository. e.g. jfrog

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

what is dockerfile

A

dockerfile: is a text file that contains all instructions to pull a base image and execute set of instructions to create desired image and container at run time

example:

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

what is docker volumes ?

A

mount volumes: instead of storing files on dockers, you can mount volumes on it and access files.

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