What happens when the resulting container is started without any additional volume configuration?

A Dockerfile contains the statements:
COPY data/ /data/
VOLUME /data
What happens when the resulting container is started without any additional volume configuration? (Choose two correct answers.)
A. 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.
C. Existing files from /data/ in the image are copied to the new volume.
D. An error is raised because /data/ already contains data when the volume is mounted.
E. A new volume is created and mounted to /data/ within the new container.

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.