CompTIACompTIA
XK0-005 · Question #695
XK0-005 Question #695: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-005 to reveal the answer and full explanation for question #695. The question stem and answer options stay visible for context.
Troubleshooting
Question
An administrator is running a web server in a container named WEB, but none of the error output is showing. Which of the following should the administrator use to generate the errors on the container?
Options
- Adocker-compose inspect WEB
- Bdocker logs WEB
- Cdocker run --name WEB --volume /dev/stdout:/var/log/nginx/error.log
- Ddocker ps WEB -f
Unlock XK0-005 to see the answer
You've previewed enough free XK0-005 questions. Unlock XK0-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Docker#Container Logging#Troubleshooting#CLI