Docker and CI/CD · Junior · Question 3 of 75
What is a Dockerfile?
- ✓Correct answer: A text file with the steps to build an image
- 2A config file listing every container on a host
- 3A log file that a container writes while it runs
Explanation
Each instruction (FROM, COPY, RUN, CMD...) describes a build step. docker build executes them and produces an image.