-
Notifications
You must be signed in to change notification settings - Fork 9
Checking Logs
XternA edited this page Apr 9, 2024
·
3 revisions
The tool has a built-in option to check the installed applications. For the most part, it's not required as things should just work out of the box. However, it is a nice thing to be able to see what is running. Did it restart and does it restart often?
Installed Containers:
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
bitping bitping/bitpingd "/app/bitpingd login…" bitping 4 minutes ago Restarting (0) 57 seconds ago
earnapp madereddy/earnapp "install" earnapp 4 minutes ago Up 3 minutes
repocket repocket/repocket "/bin/sh -c 'node di…" repocket 4 minutes ago Up 29 seconds
If the result is the latter then obviously we can check the log files of the individual apps.
For instance, to check the logs of individual apps, first, find out the name of the application (aka app ID), identified by the name column. Then without using the tool run the following command from the command line:
docker logs <name-of-application>
This will let you inspect the logs for the target application.
Alternatively from the command line, you can do:
docker ps -a
This will also show all applications, including stopped containers.