LPI
305-300 · Question #2
What happens when the following command is executed twice in succession? docker run -tid -v data:/data debian bash
Sign in or unlock 305-300 to reveal the answer and full explanation for question #2. The question stem and answer options stay visible for context.
303.4 Operations Security
Question
What happens when the following command is executed twice in succession? docker run -tid -v data:/data debian bash
Options
- AThe container resulting from the second invocation can only read the content of /data/ and cannot
- BEach container is equipped with its own independent data volume, available at /data/ in the
- CBoth containers share the contents of the data volume, have full permissions to alter its content
- DThe original content of the container image data is available in both containers, although changes
- EThe second command invocation fails with an error stating that the volume data is already
Unlock 305-300 to see the answer
You've previewed enough free 305-300 questions. Unlock 305-300 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Docker#named volumes#container storage#data sharing