WorksheetsDocker
Total questions: 10
Worksheet time: 3mins
Docker allows application development and testing in isolated system.
True
False
Different between Virtual Machine and Docker, Docker does not virtualize the hardware and computing resource layer.
True
False
Docker image is a running instance of docker container.
True
False
"docker run -it hello_world", the "-it" is to run the container in the interactive terminal.
True
False
Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image.
True
False
the EXPOSE in Dockerfile is to expose your data file to your user.
True
False
You can use RUN in Dockerfile to install dependencies and libraries, eg. "RUN apt install python3"
True
False
Docker compose is to start multiple containers, put in the same virtual network.
True
False
"docker build -t image_name . ", this command build all the library, dependency, data, code into an image for deployment.
True
False
" docker run --rm image_name ", the container will be remove (--rm) after stopped.
True
False
