ExamGecko
Question list
Search
Search

Question 2 - 305-300 discussion

Report
Export

What is the purpose of a .dockerignore file?

A.
It lists files existing in a Docker image which should be excluded when building a derivative image.
Answers
A.
It lists files existing in a Docker image which should be excluded when building a derivative image.
B.
It specifies files that Docker does not submit to the Docker daemon when building a Docker image
Answers
B.
It specifies files that Docker does not submit to the Docker daemon when building a Docker image
C.
It exists in the root file system of containers that should ignore volumes and ports provided by Docker.
Answers
C.
It exists in the root file system of containers that should ignore volumes and ports provided by Docker.
D.
It must be placed in the top level directory of volumes that Docker should never attach automatically to a container
Answers
D.
It must be placed in the top level directory of volumes that Docker should never attach automatically to a container
E.
It specifies which parts of a Dockerfile should be ignored when building a Docker image.
Answers
E.
It specifies which parts of a Dockerfile should be ignored when building a Docker image.
Suggested answer: B
asked 18/09/2024
Mohammedsaleh Ibrahim
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first