Skip to content
Home
Online Platform
Pricing
Blog
Contact
Log in
Country/region
Poland | EUR €
Search
Argentina
EUR €
Australia
AUD $
Austria
EUR €
Belgium
EUR €
Brazil
EUR €
Bulgaria
EUR €
Canada
CAD $
Chile
EUR €
China
CNY ¥
Côte d’Ivoire
XOF Fr
Croatia
EUR €
Cyprus
EUR €
Czechia
CZK Kč
Denmark
DKK kr.
Egypt
EGP ج.م
Estonia
EUR €
Finland
EUR €
France
EUR €
Georgia
EUR €
Germany
EUR €
Greece
EUR €
Hong Kong SAR
HKD $
Hungary
HUF Ft
Iceland
ISK kr
India
INR ₹
Ireland
EUR €
Israel
ILS ₪
Italy
EUR €
Jamaica
JMD $
Japan
JPY ¥
Kazakhstan
KZT ₸
Latvia
EUR €
Lithuania
EUR €
Luxembourg
EUR €
Malaysia
MYR RM
Malta
EUR €
Monaco
EUR €
Morocco
MAD د.م.
Netherlands
EUR €
New Zealand
NZD $
Nigeria
NGN ₦
Norway
EUR €
Pakistan
PKR ₨
Poland
EUR €
Portugal
EUR €
Romania
RON Lei
Russia
EUR €
Singapore
SGD $
Slovakia
EUR €
Slovenia
EUR €
South Africa
EUR €
South Korea
KRW ₩
Spain
EUR €
Sweden
SEK kr
Switzerland
CHF CHF
Tunisia
EUR €
Türkiye
EUR €
Ukraine
UAH ₴
United Arab Emirates
AED د.إ
United Kingdom
GBP £
United States
USD $
Uruguay
UYU $U
Uzbekistan
UZS so'm
Home
Online Platform
Pricing
Blog
Contact
Country/region
Poland | EUR €
Search
Argentina
EUR €
Australia
AUD $
Austria
EUR €
Belgium
EUR €
Brazil
EUR €
Bulgaria
EUR €
Canada
CAD $
Chile
EUR €
China
CNY ¥
Côte d’Ivoire
XOF Fr
Croatia
EUR €
Cyprus
EUR €
Czechia
CZK Kč
Denmark
DKK kr.
Egypt
EGP ج.م
Estonia
EUR €
Finland
EUR €
France
EUR €
Georgia
EUR €
Germany
EUR €
Greece
EUR €
Hong Kong SAR
HKD $
Hungary
HUF Ft
Iceland
ISK kr
India
INR ₹
Ireland
EUR €
Israel
ILS ₪
Italy
EUR €
Jamaica
JMD $
Japan
JPY ¥
Kazakhstan
KZT ₸
Latvia
EUR €
Lithuania
EUR €
Luxembourg
EUR €
Malaysia
MYR RM
Malta
EUR €
Monaco
EUR €
Morocco
MAD د.م.
Netherlands
EUR €
New Zealand
NZD $
Nigeria
NGN ₦
Norway
EUR €
Pakistan
PKR ₨
Poland
EUR €
Portugal
EUR €
Romania
RON Lei
Russia
EUR €
Singapore
SGD $
Slovakia
EUR €
Slovenia
EUR €
South Africa
EUR €
South Korea
KRW ₩
Spain
EUR €
Sweden
SEK kr
Switzerland
CHF CHF
Tunisia
EUR €
Türkiye
EUR €
Ukraine
UAH ₴
United Arab Emirates
AED د.إ
United Kingdom
GBP £
United States
USD $
Uruguay
UYU $U
Uzbekistan
UZS so'm
Search
Log in
Cart
Item added to your cart
View cart
Check out
Continue shopping
Docker Interview Questions (69 questions)
Back to all questions
JS
150
React
50
React Hooks
56
RSC
45
Next.js
43
Angular
50
AngularJS
44
HTML5
37
CSS
54
Git
46
GraphQL
73
Node.js
45
TypeScript
38
Vue.js
48
RxJS
40
Redux
49
Remix
38
Java
150
Java 8
72
Java 11
49
Java 17
47
Java 21
53
Java 25
53
jQuery
53
SQL
105
Spring
66
Reactor
38
Docker
69
Redis
66
MongoDB
129
MySQL
53
OWASP
73
PWA
39
Kafka
60
PostgreSQL
50
Unit Testing
37
WebSockets
31
Web Security
35
Jest
122
JUnit
67
Mockito
61
TDD & BDD
80
Test Levels
72
Claude Code
Coming Soon
×
Decrypting answers...
Ctrl
+
/
to search
Showing results for "
"
Show all questions
No questions found
Try different keywords or check your spelling
Docker Fundamentals
1. What is Docker and what problems does it solve?
What is Docker and what problems does it solve?
↑ Back to top
2. What is the difference between Docker containers and virtual machines?
What is the difference between Docker containers and virtual machines?
↑ Back to top
3. What is a Docker image and how does it relate to a container?
What is a Docker image and how does it relate to a container?
↑ Back to top
4. What is the Docker architecture and its main components?
What is the Docker architecture and its main components?
↑ Back to top
5. What are the advantages and disadvantages of using Docker?
What are the advantages and disadvantages of using Docker?
↑ Back to top
Docker Images
6. What are Docker image layers and how do they work?
What are Docker image layers and how do they work?
↑ Back to top
7. What are Docker image tags and how do you use them?
What are Docker image tags and how do you use them?
↑ Back to top
8. What is the latest tag and why should you avoid using it in production?
What is the latest tag and why should you avoid using it in production?
↑ Back to top
9. How do you reduce Docker image size?
How do you reduce Docker image size?
↑ Back to top
10. What is the difference between alpine, slim, and full base images?
What is the difference between alpine, slim, and full base images?
↑ Back to top
11. How do you scan Docker images for vulnerabilities?
How do you scan Docker images for vulnerabilities?
↑ Back to top
Dockerfile
12. What is a Dockerfile and what is its purpose?
What is a Dockerfile and what is its purpose?
↑ Back to top
13. What is the difference between RUN, CMD, and ENTRYPOINT?
What is the difference between RUN, CMD, and ENTRYPOINT?
↑ Back to top
14. What is the difference between ADD and COPY instructions?
What is the difference between ADD and COPY instructions?
↑ Back to top
15. How do you use ARG and ENV instructions and what is the difference?
How do you use ARG and ENV instructions and what is the difference?
↑ Back to top
16. What is a multi-stage build and why would you use it?
What is a multi-stage build and why would you use it?
↑ Back to top
17. What is the USER instruction and why is it important for security?
What is the USER instruction and why is it important for security?
↑ Back to top
18. What is the HEALTHCHECK instruction and how do you use it?
What is the HEALTHCHECK instruction and how do you use it?
↑ Back to top
19. What is the .dockerignore file and why is it important?
What is the .dockerignore file and why is it important?
↑ Back to top
20. What are the best practices for writing efficient Dockerfiles?
What are the best practices for writing efficient Dockerfiles?
↑ Back to top
21. How do you optimize layer caching in Dockerfiles?
How do you optimize layer caching in Dockerfiles?
↑ Back to top
Docker Containers
22. What is a Docker container and how does it differ from an image?
What is a Docker container and how does it differ from an image?
↑ Back to top
23. How do you create, start, stop, and remove containers?
How do you create, start, stop, and remove containers?
↑ Back to top
24. How do you run a container in detached mode vs interactive mode?
How do you run a container in detached mode vs interactive mode?
↑ Back to top
25. What is the difference between docker exec and docker attach?
What is the difference between docker exec and docker attach?
↑ Back to top
26. How do you view container logs?
How do you view container logs?
↑ Back to top
27. What are container resource limits and how do you set them?
What are container resource limits and how do you set them?
↑ Back to top
28. How do you copy files between host and container?
How do you copy files between host and container?
↑ Back to top
Docker Networking
29. What are the default Docker network drivers?
What are the default Docker network drivers?
↑ Back to top
30. What is the difference between bridge, host, and none network modes?
What is the difference between bridge, host, and none network modes?
↑ Back to top
31. How do containers communicate with each other?
How do containers communicate with each other?
↑ Back to top
32. What is Docker DNS and how does container name resolution work?
What is Docker DNS and how does container name resolution work?
↑ Back to top
33. How do you expose container ports to the host?
How do you expose container ports to the host?
↑ Back to top
34. What is the difference between -p and -P flags?
What is the difference between -p and -P flags?
↑ Back to top
Docker Volumes and Storage
35. What are Docker volumes and why are they important?
What are Docker volumes and why are they important?
↑ Back to top
36. What is the difference between volumes, bind mounts, and tmpfs mounts?
What is the difference between volumes, bind mounts, and tmpfs mounts?
↑ Back to top
37. How do you create and manage Docker volumes?
How do you create and manage Docker volumes?
↑ Back to top
38. How do you share data between containers?
How do you share data between containers?
↑ Back to top
39. Where are Docker volumes stored on the host?
Where are Docker volumes stored on the host?
↑ Back to top
40. How do you backup and restore Docker volumes?
How do you backup and restore Docker volumes?
↑ Back to top
Docker Compose
41. What is Docker Compose and what problems does it solve?
What is Docker Compose and what problems does it solve?
↑ Back to top
42. What is the structure of a docker-compose.yml file?
What is the structure of a docker-compose.yml file?
↑ Back to top
43. How do you define services in Docker Compose?
How do you define services in Docker Compose?
↑ Back to top
44. How do you manage dependencies between services?
How do you manage dependencies between services?
↑ Back to top
45. How do you use environment variables in Docker Compose?
How do you use environment variables in Docker Compose?
↑ Back to top
46. What is the difference between docker-compose down and docker-compose stop?
What is the difference between docker-compose down and docker-compose stop?
↑ Back to top
47. How do you override Compose files for different environments?
How do you override Compose files for different environments?
↑ Back to top
Docker Security
48. What are the security concerns when using Docker?
What are the security concerns when using Docker?
↑ Back to top
49. How do you run containers as non-root users?
How do you run containers as non-root users?
↑ Back to top
50. What are Docker security best practices?
What are Docker security best practices?
↑ Back to top
51. How do you manage secrets in Docker?
How do you manage secrets in Docker?
↑ Back to top
52. What is the difference between Docker secrets and environment variables?
What is the difference between Docker secrets and environment variables?
↑ Back to top
53. What are the risks of running privileged containers?
What are the risks of running privileged containers?
↑ Back to top
Docker in Production
54. What are the best practices for running Docker in production?
What are the best practices for running Docker in production?
↑ Back to top
55. How do you implement health checks for production containers?
How do you implement health checks for production containers?
↑ Back to top
56. What is container orchestration and why is it needed?
What is container orchestration and why is it needed?
↑ Back to top
57. What is the difference between Docker Swarm and Kubernetes?
What is the difference between Docker Swarm and Kubernetes?
↑ Back to top
58. How do you handle container updates and rollbacks?
How do you handle container updates and rollbacks?
↑ Back to top
59. How do you implement zero-downtime deployments with Docker?
How do you implement zero-downtime deployments with Docker?
↑ Back to top
Performance and Troubleshooting
60. How do you optimize Docker container performance?
How do you optimize Docker container performance?
↑ Back to top
61. What are the best practices for reducing image size?
What are the best practices for reducing image size?
↑ Back to top
62. What is BuildKit and how does it improve builds?
What is BuildKit and how does it improve builds?
↑ Back to top
63. How do you troubleshoot a container that won't start?
How do you troubleshoot a container that won't start?
↑ Back to top
64. How do you clean up Docker resources (images, containers, volumes)?
How do you clean up Docker resources (images, containers, volumes)?
↑ Back to top
65. What is the docker system prune command?
What is the docker system prune command?
↑ Back to top
Docker and CI/CD
66. How do you integrate Docker with CI/CD pipelines?
How do you integrate Docker with CI/CD pipelines?
↑ Back to top
67. What is Docker-in-Docker (DinD) and when would you use it?
What is Docker-in-Docker (DinD) and when would you use it?
↑ Back to top
68. How do you cache Docker layers in CI/CD?
How do you cache Docker layers in CI/CD?
↑ Back to top
69. What is the best practice for tagging images in CI/CD?
What is the best practice for tagging images in CI/CD?
↑ Back to top
Related Interview Questions
Most popular interview topics
JavaScript
150 questions
React
50 questions
Node.js
45 questions
SQL
105 questions
Explore all question sets
JS
150
React
50
React Hooks
56
RSC
45
Next.js
43
Angular
50
AngularJS
44
HTML5
37
CSS
54
Git
46
GraphQL
73
Node.js
45
TypeScript
38
Vue.js
48
RxJS
40
Redux
49
Remix
38
Java
150
Java 8
72
Java 11
49
Java 17
47
Java 21
53
Java 25
53
jQuery
53
SQL
105
Spring
66
Reactor
38
Docker
69
Redis
66
MongoDB
129
MySQL
53
OWASP
73
PWA
39
Kafka
60
PostgreSQL
50
Unit Testing
37
WebSockets
31
Web Security
35
Jest
122
JUnit
67
Mockito
61
TDD & BDD
80
Test Levels
72
Claude Code
Coming Soon
Choosing a selection results in a full page refresh.
Opens in a new window.