List of questions
Related questions
Question 35 - 305-300 discussion
What happens when the following command is executed twice in succession?
docker run -tid -v data:/data debian bash
A.
The container resulting from the second invocation can only read the content of /data/ and cannot change it.
B.
Each container is equipped with its own independent data volume, available at /data/ in the respective container.
C.
Both containers share the contents of the data volume, have full permissions to alter its content and mutually see their respective changes.
D.
The original content of the container image data is available in both containers, although changes stay local within each container.
E.
The second command invocation fails with an error stating that the volume data is already associated with a running container.
Your answer:
0 comments
Sorted by
Leave a comment first