I'm going with /root/tesc. You know, because that's how I roll - always thinking outside the box! Gotta keep the exam graders on their toes, am I right?
Definitely /tmp/test. The WORKDIR / command sets the root directory, but the RUN cd /tmp command changes the working directory to /tmp before creating the file. This one's a classic Docker gotcha!
Hah, this is a tricky one! I bet the file is in /test. The WORKDIR / command sets the root directory, and the RUN echo test > test command creates the file right there in the root.
I'm pretty sure the file is in /tmp/test. The WORKDIR / command sets the working directory to the root, but the RUN cd /tmp command changes it to /tmp before creating the test file.
The file test should be located in the /tmp directory within the container image. The RUN cd /tmp command changes the working directory to /tmp before the echo test > test command is executed.
Chan
1 months agoKeena
1 months agoJohnetta
1 months agoJimmie
11 days agoStevie
12 days agoKris
13 days agoKaitlyn
16 days agoAlishia
17 days agoLeigha
18 days agoJess
19 days agoEffie
1 months agoMona
28 days agoMaryln
1 months agoSarina
2 months agoTiffiny
2 months agoSarina
2 months agoArmando
2 months agoHershel
1 months agoAngelo
1 months agoBlossom
1 months agoNelida
2 months ago