Docker Flashcards

(11 cards)

1
Q

What is Docker?

A

Docker is an open-source platform for automating the deployment, scaling, and management of applications inside lightweight, portable containers.

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

What is the purpose of Docker?

A

Docker is used to guarantee environment consistency, implement microservices architectures, support CI/CD, enable hybrid and multi-cloud deployments, and improve resource efficiency.

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

What are the key components of Docker?

A

Key components include Docker Engine, Docker Images, Docker Containers, Dockerfile, Docker Hub (Registry), and Docker Compose.

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

How does Docker work?

A

Docker builds images from Dockerfiles, stores them, runs containers from images, and manages networking and volumes.

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

What are the advantages of using Docker?

A

Advantages include portability, lightweight operation, isolation, scalability, and a rich ecosystem.

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

What are the disadvantages of Docker?

A

Disadvantages include a larger security surface, storage overhead, complex networking, limitations compared to VMs, and potential resource contention.

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

What are real-world examples of Docker implementation?

A

Examples include deploying web applications, data processing, microservices platforms, CI/CD pipelines, and edge computing.

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

What security considerations should be taken with Docker?

A

Considerations include using signed images, running containers with least privilege, employing runtime isolation, treating containers as immutable, and network segmentation.

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

What are performance considerations for Docker?

A

Performance bottlenecks may include I/O performance, memory limits, startup latency, and logging overhead.

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

What related standards/protocols apply to Docker?

A

Related standards include OCI, CNI, CRI, and Docker Registry HTTP API V2.

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

What are best practices for using Docker?

A

Best practices include using small, focused images, maintaining declarative configurations, automating builds and scans, defining resource quotas, and centralizing logging and monitoring.

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