CompTIACompTIA
XK0-005 · Question #1844
XK0-005 Question #1844: Real Exam Question with Answer & Explanation
The correct answer is A: docker inspect container. The command returns the container’s full configuration docker inspect <container> JSON, including the and any arguments passed at runtime, allowing you to verify the ENTRYPOINT parameters.
Scripting, Containers, and Automation
Question
A Linux administrator wants to verify the runtime parameters of a container's ENTRYPOINT process. Which of the following commands will allow the administrator to achieve this goal?
Options
- Adocker inspect container
- Bdocker ls container
- Cdocker ps container
- Ddocker logs container
Explanation
The command returns the container’s full configuration docker inspect <container> JSON, including the and any arguments passed at runtime, allowing you to verify the ENTRYPOINT parameters.
Topics
#Docker#Containers#Container Inspection#CLI
Community Discussion
No community discussion yet for this question.