
Docker
Authored by Tejas Shah
Computers
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
24 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Docker command to run a container
docker ps -a
docker ps
docker run -dit -p 80:80 --name websrv drupal
docker images
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Docker command to list all the images
docker load -i drupal.tar
docker ps
docker images
docker ps -a
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Docker command to see all the containers
docker images
docker version
docker ps
docker ps -a
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The command to load docker images from a tar file is
docker images
docker load -i drupal.tar
docker ps
docker ps -a
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Docker command to see only running containers
docker ps -a
docker images
docker ps
docker version
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Docker command to check the IP address of container
docker ps -a
docker logs websrv
docker images
docker inspect websrv
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Docker command to find out the cause of container exit with error.
docker logs websrv
docker inspect websrv
docker ps -a
docker ps
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?