A Dockerfile contains the statements: COPY data/ /data/ VOLUME /data What happens when the resulting container is started without any additional volume configuration?
A) Files existing in / data / in the image are not available in the running container. Files existing in / data / in the image are not available in the running container.
B) Changes to files within / data / affect the Docker image and all other containers derived from it. Changes to files within / / affect the Docker image and all other containers derived from it.
C) Existing files from / data / in the image are copied to the new volume. Existing files from / / in the image are copied to the new volume.
D) An error is raised because / data / already contains data when the volume is mounted. An error is raised because / / already contains data when the volume is mounted.
E) A new volume is created and mounted to / data / within the new container. A new volume is created and mounted to / / within the new container.
Correct Answer:
Verified
Q13: How is a Docker container image retrieved
Q14: Given the following excerpt of a Dockerfile
Q15: What statement is true regarding the Swarm
Q16: Which of the following git commands is
Q17: Which of the log messages below matches
Q19: Which of the following information is contained
Q20: Which statements are true regarding databases during
Q21: Which of the following elements are presents
Q22: What is tested by unit tests?
A) The
Q23: Which of the following statements describes the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents