Docker
The HCloud Docker agents log can be retrieved like any container log in Docker.
Type
to get a list of all your containers, then pick the name of the client container which you want to read the logfiles of.
Alternatively, search for a string to reduce the number of line output and get only lines with the hcloud-string in it.
Copy the name of the agents container affected and type
to retrieve the logs, or write them into a file like this:
Like with any container, you can use third party tools to automatically collect logs and process or visualize information from your agents that are running as containers. You can also use helmut.cloud to collect and distribute logfiles to a location of your liking.
Last updated