ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 202 - DOP-C01 discussion

Report
Export

You are running a Docker daemon on a Linux host and it becomes unresponsive. Which signal, when sent to a Docker process with the kill command, forces the full stack trace to be logged for debugging purposes?

A.
–TRACE
Answers
A.
–TRACE
B.
–IOTRACE
Answers
B.
–IOTRACE
C.
-SIGUSER1
Answers
C.
-SIGUSER1
D.
–KILLTRACE
Answers
D.
–KILLTRACE
Suggested answer: C

Explanation:

If the daemon is unresponsive, you can force a full stack trace to be logged by sending a SIGUSR1 signal to the daemon. Linux:

$ sudo kill -SIGUSR1 $(pidof dockerd) Windows Server:

Download docker-signal.

Run the executable with the flag --pid=.

Reference:

https://docs.docker.com/engine/admin/#force-a-stack-trace-to-be-logged

asked 16/09/2024
Andrew Li
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first