scope
scope copied to clipboard
probe: avoid reporting the container ID as its hostname
If hostname isn't set on a container it defaults to a random hex number, which we don't want to show in the UI.
Example: you can see that the hostname of the container is the first 12 characters of the container ID.

However, with this PR the second container disappears from the "containers by DNS name" view. I'm not sure that is an improvement.