An administrator is running a web server in a container named web, but none of the error output is not showing. Which of the following should the administrator use to generate the errors on the container?
Thedocker logscommand is used to fetch the logs of a container.If the error output is not showing for a running container, thedocker logscommand can be used to view these details56.
Reference: 5(https://www.docker.com/blog/how-to-fix-and-debug-docker-containers-like-a-superhero/) 6(https://stackoverflow.com/questions/33083385/getting-console-output-from-a-docker-container)
Limited Time Offer
25%
Off
Thaddeus
11 days agoPearly
13 days agoBethanie
7 days agoTheodora
14 days ago