13.4.5 Containers
Which of the following BEST describes a Dockerfile?
A text file with instructions that tell Docker what to do when creating an image
Which of the following is an application that's isolated in a lightweight package and allows you to run a program from one computing environment to another?
Container
Which of the following is installed on top of the host operating system and allows containers to use resources from the host operating system as well?
Container engine
Which of the following are Docker Hub, Amazon ECR, and Harbor all examples of?
Container registries
Which of the following provides the BEST definition of a sidecar in a Kubernetes pod?
Containers in a Kubernetes pod that perform a task on behalf of other containers
As the network administrator for a financial corporation, you've been asked to find a solution for running an older, company-produced application independently on various Linux distributions. You've decided to use container technology to run the company application and are looking for a container management software package that meets the following requirements: The software must be able to build and manage images. The software must run only as the root user. Which of the following software packages BEST meets these requirements?
Docker
You are looking for an orchestration engine for your network containers that allows you to do the following: Monitor the health of containers with a notification in the case that they are not running properly. Manage updates, including rolling back updates if necessary. Which of the following gives you the ability to perform these tasks?
Kubernetes
Which of the following is the process of automating, managing, scaling, and networking containers?
Orchestration
As the network administrator for a financial corporation, you've been asked to find a solution for running an older, company-produced application independently on various Linux distributions. You've decided to use container technology to run the company application and are looking for a container management software package that meets the following requirements: The software can run rootless. The software is modular. In addition, the software only needs to be run from the command line, and creating images is not important. Which of the following software packages BEST meets these requirements?
Podman
Docker is a container management software package that uses the docker command at the shell prompt to manage containers. From the list on the left, drag each command to its correct description on the right.
View the logs of a container docker log Connect to running containers docker exec Gather detailed information about a container docker inspect List all the containers in Docker docker ps