Sign in to unlock

Get unlimited access to all questions and answers

checked

Get lifetime access

checked

Track progress

checked

Save time

👋

Hi! Please sign in to edit.

You will receive an email notification when your contribution is accepted.

The fastest way to prepare
for a tech interview

Check our curated list of full-stack, data structures & software architecture interview questions and answers for developers

* If it's yours original answer, you can add a link to your social media account or personal website.
Docker interview questions

Docker interview questions.

Only challenges
Topic progress: 0%
1.

What is Docker?

premium question
completed

Answer:

2.

What is the difference between a Docker image and a container?

premium question
completed

Answer:

3.

What is the difference between the COPY and ADD commands in a Dockerfile?

premium question
completed

Answer:

4.

What is Docker hub?

premium question
completed

Answer:

5.

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

premium question
completed

Answer:

6.

When would you use ‘docker kill’ or ‘docker rm -f’?

premium question
completed

Answer:

7.

Is there a way to identify the status of a Docker container?

premium question
completed

Answer:

8.

What is the difference between ‘docker run’ and ‘docker create’?

premium question
completed

Answer:

9.

What is the difference between CMD and ENTRYPOINT in a Dockerfile?

premium question
completed

Answer:

10.

What’s the difference between a repository and a registry?

premium question
completed

Answer:

11.

Do I lose my data when the Docker container exits?

premium question
completed

Answer:

12.

Can you remove (‘docker rm’) a container that is paused?

premium question
completed

Answer:

13.

What is Build Cache in Docker?

premium question
completed

Answer:

14.

How to build envrionment-agnostic systems with Docker?

premium question
completed

Answer:

15.

How to link containers?

premium question
completed

Answer:

16.

What type of applications - Stateless or Stateful are more suitable for Docker Container?

premium question
completed

Answer:

17.

What is Docker image?

premium question
completed

Answer:

18.

What is Docker container?

premium question
completed

Answer:

19.

What are the most common instructions in Dockerfile?

premium question
completed

Answer:

20.

How do I transfer a Docker image from one machine to another one without using a repository, no matter private or public?

premium question
completed

Answer:

21.

What is virtualisation?

premium question
completed

Answer:

22.

What happens if you add more than one CMD instruction to a Dockerfile?

premium question
completed

Answer:

23.

Can you create containers wihout their own PID namespace?

premium question
completed

Answer:

24.

How will you monitor Docker in production?

premium question
completed

Answer:

25.

What exactly do you mean by “Dockerized node”? Can this node be on-premises or in the cloud?

premium question
completed

Answer:

26.

Explain basic Docker usage workflow

premium question
completed

Answer:

27.

What is Docker Swarm?

premium question
completed

Answer:

28.

What is the difference between Docker Image and Layer?

premium question
completed

Answer:

29.

Docker Compose vs. Dockerfile - which is better?

premium question
completed

Answer:

30.

What is the difference between CMD and ENTRYPOINT in a Dockerfile?

premium question
completed

Answer:

31.

Could you explain what is Emulation?

premium question
completed

Answer:

32.

How can we control the startup order of services in Docker compose?

premium question
completed

Answer:

33.

What is the preferred way of removing containers - ‘docker rm -f’ or ‘docker stop’ then followed by a ‘docker rm’?

premium question
completed

Answer:

34.

What is the difference between “expose” and “publish” in Docker?

premium question
completed

Answer:

35.

Should I use Vagrant or Docker for creating an isolated environment?

premium question
completed

Answer:

36.

What is the purpose of EXPOSE command in Dockerfile?

premium question
completed

Answer:

37.

What is the default CPU limit set for a container?

premium question
completed

Answer:

38.

What is Hypervisor?

premium question
completed

Answer:

39.

What is the difference between Docker RUN, CMD and ENTRYPOINT?

premium question
completed

Answer:

40.

Can you explain dockerfile ONBUILD instruction?

premium question
completed

Answer:

41.

What is Paravirtualization?

premium question
completed

Answer:

42.

When you limit the memory for a container, does it reserve (guarantee) the memory?

premium question
completed

Answer:

43.

What is an orphant volume and how to remove it?

premium question
completed

Answer:

44.

How is Docker different from a virtual machine?

premium question
completed

Answer:

45.

What are the different kinds of namespaces available in a Container?

premium question
completed

Answer:

46.

How virtualization works at low level?

premium question
completed

Answer:

47.

Is it possible to generate a Dockerfile from an image?

premium question
completed

Answer:

48.

Can you run Docker containers natively on Windows?

premium question
completed

Answer:

49.

Is it good practice to run stateful applications on Docker? What are the scenarios where Docker best fits in?

premium question
completed

Answer:

50.

Why Docker compose does not wait for a container to be ready before moving on to start next service in dependency order?

premium question
completed

Answer:

51.

How does Docker run containers in non-Linux systems?

premium question
completed

Answer:

52.

How containers works at low level?

premium question
completed

Answer:

53.

Name some limitations of containers vs VM

premium question
completed

Answer:

54.

Why did Docker jump from version 1.13 to 17.03?

premium question
completed

Answer:

55.

How to use Docker with multiple environments?

premium question
completed

Answer:

Reverse Tech Interview: Questions to Stump an Interviewer

Few people want to get into an uncomfortable environment or an unprofitable company with no prospects. If you’re wondering how to get a real feel for a company during an interview, you’re welcome. I’ll give a list of questions that interviewers don’t usually expect...

How to become a programmer, move to the US, and get a dream job

Are you curious about what you need to do to earn more than $15.000 a month, drive a Tesla, live in sunny California, and work at Google, Apple, Facebook, or Amazon?

11 Reactive Systems interview questions and answers for software engineers . Reactive Systems

Reactive systems are an architectural style that allows multiple individual applications to blend into one unit, reacting to their environment, while staying aware of each other. Here is a list of coding interview questions on Reactive Systems to help you get ready...

34 Microservices interview questions and answers for software engineers

Microservice architecture – a variant of the service-oriented architecture structural style – arranges an application as a collection of loosely coupled services. In a microservices architecture, services are fine-grained and the protocols are lightweight. Here is a list of coding intervie...

. Microservices
7 Layering & Middleware interview questions for developers

Middleware in the context of distributed applications is software that provides services beyond those provided by the operating system to enable the various components of a distributed system to communicate and manage data. Middleware supports and simplifies complex distributed application...

. Layering & Middleware
55 Docker interview questions and answers for software engineers

Docker is a set of platform as a service products that use OS-level virtualization to deliver software in packages called containers. Here is a list of coding interview questions on Docker to help you get ready for your next data structures interview in 2021.

. Docker
23 Databases interview questions and answers for software engineers

A database is an organized collection of data, generally stored and accessed electronically from a computer system. Where databases are more complex they are often developed using formal design and modeling techniques. Here is a list of coding interview questions on Databases to help you g...

. Databases
21 Concurrency interview questions and answers for software engineers

In computer science, concurrency is the ability of different parts or units of a program, algorithm, or problem to be executed out-of-order or in partial order, without affecting the final outcome. Here is a list of coding interview questions on Concurrency to help you get ready for your n...

. Concurrency
13 CAP Theorem interview questions and answers for software engineers

In theoretical computer science, the CAP theorem, also named Brewer's theorem after computer scientist Eric Brewer, states that it is impossible for a distributed data store to simultaneously provide more than two out of the following three guarantees: Consistency: Every read receives the ...

. CAP Theorem
18 Caching interview questions and answers for software engineers

Caching is a technique that stores a copy of a given resource and serves it back when requested. Here is a list of coding interview questions on Caching to help you get ready for your next data structures interview in 2021.

. Caching
Load more posts

Features

folder icon

Access all answers

Get the inside track on what to expect in your next tech interview. We offer you a collection of high quality technical interview questions to help you prepare for your next coding interview.

graph icon

Track progress

A smart interface helps you track your progress and focus on the topics you need. You can search through questions or sort them by difficulty or type.

clock icon

Save time

Save tens of hours searching for information on hundreds of low-quality sites designed to drive traffic and make money from advertising.

Land a six-figure job at one of the top companies.

amazon logo facebook logo google logo microsoft logo uber logo
Prepare for a technical interview

Get hired with our
tech interview questions & answers