Dockerd.log - Error getting v2 registry leading to TLS handshake timeout

Brief: A log entry in “dockered.log” → 2021-07-24T12:28:53Z dockerd time=“2021-07-24T12:28:53.545134762Z” level=warning msg=“Error getting v2 registry: Get https://registry.tools.XXXX.YYYY/v2/: net/http: TLS handshake timeout”

Question: Can anyone assist where “//registry.tools.XXXX.YYYY/v2/” is it coming from?
I want to change the call to “//registry.tools.XXXX.YYYY” on Mac

I’m not 100% sure, but the ‘/v2’ path in the registry URL are put there automatically by the Docker Daemon, because the ‘/v1’ are deprecated.

Here some info about it.

The registry thar are you using must support that API version; or you must downgrade the Docker Daemon to a version thar still support the ‘/v1’ API.

Thanks Manuel. I will explore this suggestion and share updates.

The proposed approach work. The case is resolved.

Thank you for your time!

1 Like