QuestionQ29
702.1 Application Container ManagementWhat occurs when the following command is run twice consecutively?
docker run -tid -v data:/data debian bash
- A The second command invocation fails with an error stating that the volume data is already associated with a running container.
- B The container resulting from the second invocation can only read the content of /data/ and can not change it.
- C The original content of the container image data is available in both containers, although changes stay local within each container.
- D Both containers share the contents of the data volume, have full permissions to alter its content and mutually see their respective changes.
- E Each container is equipped with its own independent data volume, available at /data/ in the respective container.
Community Discussion