Câu 17: 305-300: Linux Professional Institute LPIC-3 Virtualization and Containerization
What happens when the following command is executed twice in succession? docker run -tid -v data:/data debian bash
Nội dung câu hỏi
What happens when the following command is executed twice in succession? docker run -tid -v data:/data debian bash
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. The container resulting from the second invocation can only read the content of /data/ and cannot change it.
- B. Each container is equipped with its own independent data volume, available at /data/ in the respective container.
- C. Both containers share the contents of the data volume, have full permissions to alter its content and mutually see their respective changes. — đáp án hiện tại
- D. The original content of the container image data is available in both containers, although changes stay local within each container.
- E. The second command invocation fails with an error stating that the volume data is already associated with a running container.
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.