Question Bank
3705 approved questions from the community
Docker orchestration tools like Kubernetes and Docker Swarm are used to simplify container scaling and management.
What is the Bridge network driver in Docker primarily used for?
What is the default grace period for docker stop before forcefully stopping a container?
You can connect to running Docker containers and execute commands inside them.
You can connect to Docker images and execute commands inside them.
Docker image templates can exist in isolation without any running containers.
Docker containers can exist without Docker images.
You need to write a script in a Dockerfile to create a Docker image.
When docker kill is used, the process receives a chance to perform cleanup operations before termination.
Docker's portability allows organizations to deploy containers across hybrid and multi-cloud environments.
Docker images can be versioned, providing a clear and reproducible history of an application's changes.
What is the main difference between the COPY and ADD commands in a Dockerfile?
How does Docker run on Windows and MacOS if it requires a Linux kernel?
The Docker client can communicate with more than one Docker daemon.
The Docker daemon runs continuously as a dockerd systemd service.
Docker uses UnionFS or OverlayFS to layer filesystems and provide efficient image layering.
Docker containers are more lightweight and start faster than virtual machines.
Docker Compose supports scaling services to run multiple instances easily.
Docker Compose can define custom networks and volumes for your application.
It is recommended to use COPY for most cases where you want to copy local files into the Docker image.