wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Docker

Total questions: 10

Worksheet time: 3mins

Name
Class
Date
1.

Docker allows application development and testing in isolated system.

a)

True

b)

False

2.

Different between Virtual Machine and Docker, Docker does not virtualize the hardware and computing resource layer.

a)

True

b)

False

3.

Docker image is a running instance of docker container.

a)

True

b)

False

4.

"docker run -it hello_world", the "-it" is to run the container in the interactive terminal.

a)

True

b)

False

5.

Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image.

a)

True

b)

False

6.

the EXPOSE in Dockerfile is to expose your data file to your user.

a)

True

b)

False

7.

You can use RUN in Dockerfile to install dependencies and libraries, eg. "RUN apt install python3"

a)

True

b)

False

8.

Docker compose is to start multiple containers, put in the same virtual network.

a)

True

b)

False

9.

"docker build -t image_name . ", this command build all the library, dependency, data, code into an image for deployment.

a)

True

b)

False

10.

" docker run --rm image_name ", the container will be remove (--rm) after stopped.

a)

True

b)

False