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
2
Q
scalability
A
you can scale up and down by increasing and decreasing the number of containers running the same application
3
Q
resources
A
are shared with the host => many containers on one host
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)
5
Q
how to
A
- create Dockerfile that describes how to create image
- build Docker image from it (and optionally push to Docker Hub or Amazon ECR if private)
- run Docker container from image
6
Q
to manager containers we need a container management platform
A
- ECS
- Fargate (serverless)
- EKS (Kubernetes, out of scope)