DCA Exam QuestionsBrowse all questions from this exam

DCA Exam - Question 46


Will this command mount the host’s ‘/data’ directory to the ubuntu container in read-only mode?

‘docker run --add-volume /data /mydata --read only ubuntu’

Show Answer
Correct Answer:

Discussion

1 comment
Sign in to comment
diazedOption: B
Mar 8, 2025

B is correct. docker run -v volume-name:/data/mydata:ro ubuntu