On Docker installation, the three networks that are automatically created are . bridge, host, none
Which among the following network can be created by users? Bridge and Overlay network
Docker network inspect command will list the containers running in the network. True
The virtual bridge that docker establishes is called . docker0
Default inet address for docker is _. 172.17.42.1
What is the Docker command syntax to inspect a docker bridge? docker network inspect bridge
Container networking model explains architecture for Networking
What is the Docker command to disconnect a container from bridge network? docker network disconnect bridge
When a container is started, Docker establishes a bridge between __. host machine and containers
Container storage layer is read-only. false
Storage driver and data volumes are independent of each other. true
Which of the following are storage drivers supported by Docker for Ubuntu systems? All the options
Which one of the following is correct? Multiple container layers can be built on top of an Image layer
Storage driver manages the contents of . Images and container layer
Which of the following is the docker command to remove unused volumes? docker volume prune
Configuration changes should be done in _file to modify the storage driver used. daemon.json
Which Docker command is used to know the current storage driver configured? docker info
Docker volumes can be backed up/restored/migrated. true
Storage drivers cannot be modified and configured in docker. false
Using docker compose, we cannot bring up more than one service. false
Which of the following is a valid docker inspect command to display logpath? docker inspect –format='{{.LogPath}}’ tomcatContainer
Docker inspect command is used to . low level information on docker objects
Which of the following is the syntax to inspect data volumes? docker volume inspect
Which is the docker syntax to locate a volume which is mounted to a container? docker inspect —- Wrong (All options are same) ————– Final Exam Questions First Try 9 correct ——————————
What happens when you press Cntrl + P + Q inside of container? Detaches the Docker host terminal from the container
By default, what happens to docker container, when the process it is running exits? Container exits
Which of the following command will install Docker engine in a Centos server? yum install docker
Which of the following command will start a container based on Ubuntu 14.04 base image? docker run ubuntu:14.04
Which of the following is true? docker ps shows all containers by default.
Which is the Docker command to build a docker image using docker file in the current directory? docker build .
Which option can we pass to the docker daemon to assign docker bridge to specific IP range? –bip
_is a text document that contains all the commands a user could run on the command line to assemble an image. Dockerfile
Which of the following is another term to describe container virtualization? OS level virtualization
_ is a tool for defining and running multi-container Docker applications. docker compose
Three events that are captured in docker diff command are _. A – Add, D – Delete, C -Change
What is the command to stop a container? docker stop
Which is the Docker command to show the version information of the docker components? docker version
Virtual machines are a form of type of virtualization. Container
Which Dockerfile instruction can be used to install packages to our new image? apt-get install —————————— Second Try —————————————
What happens when you execute the command? Docker run debian /bin/sh A container is created and exited immdiately
Which docker command lets us attach to a running container? docker attach
By default, what mode do docker containers run in? detached mode
What is the syntax to mount a /project/data directory from docker host into a directory /data in container?