DevOps Tools Engineer (LPIC-OT 701) — Question 33

Which of the statements below are true about the volume created by the following command? (Choose two correct answers.) docker run ""v /data ""ti debian

Answer options

Correct answer: D, E

Explanation

Option D is correct because Docker volumes can be reused across containers, allowing the /data volume to be attached to another container. Option E is also correct as executing the command again creates a new volume for /data, since Docker creates a new volume if one with the same name does not already exist. The other options are incorrect because they misstate how volumes function in relation to container lifecycles and data retention.