Docker Flashcards

1
Q

idea

A

we package ou

run any app on any machine

containers can talk to each other, so a Java app in one container can talk to SQL database in another

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

scalability

A

you can scale up and down by increasing and decreasing the number of containers running the same application

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

resources

A

are shared with the host => many containers on one host

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

architecture

A

normal virtualisation: Infrastructure –> Host OS –> Hypervisor –> Guest OS(s) with their apps

Docker: Infrastructure –> Host OS –> Docker daemon –> Containers (because daemon is very light weight, you can run a lot of them)

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

how to

A
  1. create Dockerfile that describes how to create image
  2. build Docker image from it (and optionally push to Docker Hub or Amazon ECR if private)
  3. run Docker container from image
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

to manager containers we need a container management platform

A
  1. ECS
  2. Fargate (serverless)
  3. EKS (Kubernetes, out of scope)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly