Q: 8
An organization has multiple containers and wants to view STDIN, STDOUT, and STDERR I/O streams
of a specific container.
What command should be used?
Options
Discussion
Option D I was thinking
docker inspect shows everything about the container, so you might find the logs there. Not 100% sure, maybe missing something obvious with inspect output. If anyone has tried this recently let me know.C not D
A is wrong, it's C. docker logs is what you use to check STDOUT/STDERR of a running container. docker inspect gives details but not the I/O streams directly.
C
Official docs and doing labs help with these command questions.
Be respectful. No spam.