ExamGecko
Question list
Search
Search

Question 10 - 305-300 discussion

Report
Export

If a Dockerfile contains the following lines:

WORKDIR /

RUN cd /tmp

RUN echo test > test

where is the file test located?

A.
/ting/test within the container image.
Answers
A.
/ting/test within the container image.
B.
/root/tesc within the container image.
Answers
B.
/root/tesc within the container image.
C.
/test within the container image.
Answers
C.
/test within the container image.
D.
/tmp/test on the system running docker build.
Answers
D.
/tmp/test on the system running docker build.
E.
test in the directory holding the Dockerf ile.
Answers
E.
test in the directory holding the Dockerf ile.
Suggested answer: C
asked 18/09/2024
Hamid Assimi
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first