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.)
Select all that apply, then click Submit answer.
-
○
Files existing in /data/ in the image are not available in the running container.
-
○
Changes to files within /data/ affect the Docker image and all other containers derived from it.
-
○
Existing files from /data/ in the image are copied to the new volume.
-
○
An error is raised because /data/ already contains data when the volume is mounted.
-
○
A new volume is created and mounted to /data/ within the new container.