QuestionQ25

VerifiedVirtualization technologies (VMs, containers, GPU partitioning)

An organization has several containers and needs to view the STDIN, STDOUT, and STDERR I/O streams for a particular container.

Which command should it use?

Explanation

docker logs CONTAINER-NAME fetches a container’s logs; by default, Docker logs include output written to STDOUT and STDERR. It is the applicable listed command for viewing a container’s I/O output.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!