View logs for a docker container

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Remote Access Articles
1 min read
L0 Member
No ratings

Question

How do I check docker logs for a container?

Answer

The docker logs command shows information logged by a running container.

Run the following command at the CLI:
> sudo docker logs <container name>

EXAMPLE:
sudo docker logs alero-connector
sudo docker logs example.com

*Run "docker ps" to list the container name.

Note:
in the above samples, example.com is the container name. Change it to the name of your HTML5 Gateway container. We recommend following the steps laid out in Security Bulletin CA21-09 for full details. 
Rate this article:
  • 2641 Views
  • 0 comments
  • 0 Likes
Article Dashboard
Version history
Last Updated:
‎10-20-2024 12:31 AM
Updated by: