Docker
DCA · Question #96
Will this command mount the host's '/data' directory to the ubuntu container in read-only mode? Solution: 'docker run --volume /data:/mydata:ro ubuntu'
Sign in or unlock DCA to reveal the answer and full explanation for question #96. The question stem and answer options stay visible for context.
Submitted by paula_co· Apr 18, 2026Storage and Volumes
Question
Will this command mount the host's '/data' directory to the ubuntu container in read-only mode? Solution: 'docker run --volume /data:/mydata:ro ubuntu'
Options
- AYes
- BNo
Unlock DCA to see the answer
You've previewed enough free DCA questions. Unlock DCA 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 Volumes#Bind Mounts#Read-only Mounts#Host-Container Interaction