Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
19 views4 pages

Docker Interview Prep Guide

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views4 pages

Docker Interview Prep Guide

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Akshat Gupta Docker Interview Questions

Docker Interview Questions

1. What is Docker?
Ans)

2. What is the difference between Docker image and Docker container?


Ans)

3. How will you remove an image from Docker?


Ans)

4. How is a Docker container different from a virtual machine?


Ans)

5. Explain basic Docker usage workflow?


Ans)

6. What is the most popular use of Docker?


Ans)

7. What is a Docker Image?


Ans)

8. What is a Docker Container?


Ans)

9. Can we lose our data when a Docker Container exits?


Ans)

10. How do you make sure our data exists even though you deleted
container? Ans)

11. How can you do a Volume Mapping?


Ans)

12. Can I do a Read-only Mapping?


Ans)

13. How to mount files from physical server to docker


container? Ans)

14. Can we run more than one process in a Docker


container? Ans)
Akshu2 [email protected] https://www.linkedin.com/in/akshat-gupta-57342938/
Akshat Gupta Docker Interview Questions

15. What is Docker Hub?


Ans)

16. What are the main features of Docker Hub?


Ans)

17. How can we check the status of a Container in Docker?


Ans)

18. What is the difference between docker ps and dockerps-a


commands? Ans)

19. How do you login to the running container?


Ans)

20. What are the various states that a Docker container can be in at any given point in
time? Ans)

21. What are the main benefits of using Docker?


Ans)

22. What are the popular tasks that you can do with Docker Command line
tool? Ans)

23. What is the user of Dockerfile?


Ans)

24. What is the difference between Add and Copy command in a


Dockerfile? Ans)

25. What is the difference between RUN and CMD command in a


Dockerfile? Ans)

26. What is Docker Entrypoint?


Ans)

27. What is the difference between CMD and ENTRYPOINT commands in a


Dockerfile? Ans)

28. What is Build cache in Docker?


Ans)

29. What are the most common instructions in Dockerfile?


Ans)
Akshu2 [email protected] https://www.linkedin.com/in/akshat-gupta-57342938/
Akshat Gupta Docker Interview Questions

30. What is the purpose of EXPOSE command in


Dockerfile? Ans)

31. Which kind of network you are using in docker?


Ans)

32. What is Overlay network in Docker swarm?


Ans)

33. What are the main features of Docker-compose?


Ans)

34. How can we control the start-up order of services in Docker


compose? Ans)

35. How will you customize Docker compose file for different
environments? Ans)

36. Which version of docker compose you have used?


Ans)

37. In compose file what is the difference between Links and depends
on? Ans)

38. How to get docker container logs?


Ans)

39. What is Docker Swarm?


Ans)

40. What are the features of Docker Swarm?


Ans)
Akshu2 [email protected] https://www.linkedin.com/in/akshat-gupta-57342938/

You might also like