Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What is the purpose of a Dockerfile?
Think about what a recipe does.
What command do you use to create a container from an image?
It's the command to start something from a template.
What command is used to build a Docker image?
Think about the command that creates something from a file.
True or False: A Docker image is a running instance of an application.
Remember the difference between the plan and the execution.
Design a Dockerfile for a simple web application. Specify the base image, the commands to copy the application code, and the command to start the application.
Think about the steps needed to set up a simple application.
A developer has built an image and needs it live in production. Describe the steps they should follow, including commands for building and running the container.
Consider the commands you've learned and how they apply in sequence.
6 more questions in this section. Enroll free to practise them all.
Enroll free