class="sr-only sr-only-focusable">
Jump to main content
Retrieve Logs From the Command Line
Procedure
- Use ssh to connect to the IP address of your device. The credentials are root/root.
- Use the docker ps command to view the Docker containers running on the device.
- From the list of running containers, copy the container name.
- Use the journalctl command with a
CONTAINER_NAME
filter to retrieve the logs.
$ journalctl CONTAINER_NAME=your-container-name
- If you would like to follow a real time list of your logs as they are generated, add a
-f
parameter.
$ journalctl CONTAINER_NAME=your-container-name -f