Câu 16: 312-97: Certified DevSecOps Engineer (ECDE)
Peter Dinklage has been working as a senior DevSecOps engineer at SacramentSoft Solution Pvt. Ltd. He has deployed applications in docker containers. His team leader asked him to check the exposure of unnecessary ports. Which of the following commands should Peter use to check all the containers and the exposed ports?
Nội dung câu hỏi
Peter Dinklage has been working as a senior DevSecOps engineer at SacramentSoft Solution Pvt. Ltd. He has deployed applications in docker containers. His team leader asked him to check the exposure of unnecessary ports. Which of the following commands should Peter use to check all the containers and the exposed ports?
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. docker ps --quiet | xargs docker inspect --format : Ports
- B. docker ps --quiet | xargs docker inspect --all --format ‘:Ports=’
- C. docker ps --quiet | xargs docker inspect --all --format : Ports=
- D. docker ps --quiet | xargs docker inspect --format ‘: Ports=’ — đáp án hiện tại
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.