nerdexam
CompTIA

XK0-005 · Question #849

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?

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

How the community answered

(64 responses)
  • A
    88% (56)
  • B
    2% (1)
  • C
    6% (4)
  • D
    5% (3)

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#Container Management#docker inspect#ENTRYPOINT

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice