Dial tcp [::1]:4318: connect: connection refused - registry

Hi guys.

I’ve set up my first private registry, which seems to work a ok, seemingly, I can push, I can
curl https://containers.mine.priv/v2/_catalog
but container itself logs, constantly:

-> $ podman container logs -f containers.mine.priv 
...
ERRO[1410] traces export: Post "https://localhost:4318/v1/traces": dial tcp [::1]:4318: connect: connection refused  environment=development go.version=go1.23.7 instance.id=cdda0485-41b5-4de4-8958-5e779c964154 service=registry version=3.0.0
ERRO[1420] traces export: Post "https://localhost:4318/v1/traces": dial tcp [::1]:4318: connect: connection refused  environment=development go.version=go1.23.7 instance.id=cdda0485-41b5-4de4-8958-5e779c964154 service=registry version=3.0.0
ERRO[1430] traces export: Post "https://localhost:4318/v1/traces": dial tcp [::1]:4318: connect: connection refused  environment=development go.version=go1.23.7 instance.id=cdda0485-41b5-4de4-8958-5e779c964154 service=registry version=3.0.0

I searched but failed to find any info on it - does anybody know how critical this might be? Also, how to fix it if possible?
many thanks, L.

Confusing to all beginners such as myself, very confusing.
Seems that the least need “extras” is: -e REGISTRY_LOG_LEVEL=info -e OTEL_TRACES_EXPORTER=none perhaps more.

Thank you for sharing your solution. The only important variable seems to be the OTEL_TRACES_EXPORTER. Of course, if you change the log level, that can also hide some logs, but doesn’t change the behavior.

I assume you found this documentation where you read about the parameter

https://distribution.github.io/distribution/about/configuration/

If you think the documentation should be improved or the traces should not be enabled by default, you could try reporting that in its GitHub repo

but the image description on Docker Hub recommends this repo