Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LondheShubham153 authored Jul 25, 2024
1 parent 44a7443 commit f6e468a
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions 2024/day21/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Day 21 Task: Important Docker Interview Questions

## Docker Interview

Docker is a crucial topic for DevOps Engineer interviews, especially for freshers. Here are some essential questions to help you prepare and ace your Docker interviews:

## Questions

- What is the difference between an Image, Container, and Engine?
- What is the difference between the Docker command COPY vs ADD?
- What is the difference between the Docker command CMD vs RUN?
- How will you reduce the size of a Docker image?
- Why and when should you use Docker?
- Explain the Docker components and how they interact with each other.
- Explain the terminology: Docker Compose, Dockerfile, Docker Image, Docker Container.
- In what real scenarios have you used Docker?
- Docker vs Hypervisor?
- What are the advantages and disadvantages of using Docker?
- What is a Docker namespace?
- What is a Docker registry?
- What is an entry point?
- How to implement CI/CD in Docker?
- Will data on the container be lost when the Docker container exits?
- What is a Docker swarm?
- What are the Docker commands for the following:
- Viewing running containers
- Running a container under a specific name
- Exporting a Docker image
- Importing an existing Docker image
- Deleting a container
- Removing all stopped containers, unused networks, build caches, and dangling images?
- What are the common Docker practices to reduce the size of Docker images?
- How do you troubleshoot a Docker container that is not starting?
- Can you explain the Docker networking model?
- How do you manage persistent storage in Docker?
- How do you secure a Docker container?
- What is Docker overlay networking?
- How do you handle environment variables in Docker?

These questions will help you in your next DevOps interview. Write a blog and share it on LinkedIn to showcase your knowledge.

**Happy Learning :)**

[← Previous Day](../day20/README.md) | [Next Day →](../day22/README.md)

0 comments on commit f6e468a

Please sign in to comment.