View logs for a docker container
85
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:08 PM
Question
How do I check docker logs for a container?
Environment
Remote Access (formerly Alero) PSM;Privileged Session Management (PSM);Alero SaaS
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.
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.