You are on page 1of 3

Conclusion

36. Conclusion

DevOps technologies are growing at an exponential pace. As the systems are being
more and more distributed, developers have turned towards containerization
because of the need to develop software faster and maintain them better. They also
aid in easier and faster continuous integration and deployment process which is why
these technologies have experienced tremendous growth.

Docker is the most famous and popular tool for achieving the purpose of
containerization and continuous integration/development and also for continuous
deployment due to its great support for pipelines. With the growing ecosystem,
docker has proven itself to be useful to operate on multiple use cases thereby
making it all the more exciting to learn it!

To build a good DockerFile: https://docs.docker.com/engine/reference/builder/

Docker Interview MCQs


1.

What command is used for stopping a running container?

docker stop <container_id>


docker rm <container_id>
docker kill <container_id>
docker terminate <container_id>
2.

What command is used for running images as a container?

docker ps -a
sudo docker run -i -t alpine /bin/bash
sudo docker run <container_name>
All of the above
3.

What is a cloud-hosted service of Docker providing registry capabilities for public


and private content?

Docker Images
Docker Alpine
Docker Hub
Docker Compose
4.

What is used for converting a pool of Docker hosts into a single, virtual Docker host?

Docker Images
Docker Compose
Docker Hub
Docker Swarm
5.

What command is used for viewing all running containers?

docker ps
docker ps -a
docker rm
docker show
6.

What is a template used for describing a build of an image?

Docker Logs
Docker Documents
DockerFile
Docker Stream
7.

Multiple containers running on a single machine all share the same resources such as
the operating system kernel for instant boot and efficient utilization of RAM. True or
False?

True
False
Doesn't make sense
8.

What is the default IP address of the Docker host?

0.0.0.0
127.0.0.1
172.17. 0.0/16
192.127.99.1

You might also like