I have been collecting metrics on my BalenaFin multi-container application using Telegraf and Influxdb, and as I was looking through the data, grouping by “container_name”, I noticed that occasionally a new container would be logged for a single data collection period (I log every 15s), then never be seen again. This is leading to a long list of auto-named containers that are not active, or as far as I can tell, anything to do with my application or the supervisor.
Here is a snapshot of some of the container names detected, including 4 versions of my “influxdb” container:
I have 842 different named containers detected since June 26th (~18 days of logging). About 16 of them are different versions of my containers, 1 is the balena supervisor, and the rest appear to be these momentary auto-named containers.
I have retention policies on my data, so old names will eventually get cleared out, and I can try to set up a manual clear-up of these container names from the database, but would like to find out if they should be there in the first place!
Any ideas what is creating them?