A

Admin • 833K Points
Coach

Q. Which command is used to check the logs of a running Docker container?

  • (A) docker logs container_name
  • (B) docker inspect container_name
  • (C) docker stats container_name
  • (D) docker ps container_name
  • Correct Answer - Option(A)
  • Views: 53
  • Filed under category Docker
  • Hashtags:

Explanation by: Admin

'docker logs container_name' shows the logs of a running container.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.