Build issue in fedora using podman

actually i’m came across the first tesseract hackathon and try to build examples mentioned in the tesseract docs. i executed the cmds given there to use podman instead of docker. but at the first try, the build issue happened. i would grateful if anyone kindly help to resolve this issue. thanks in advance.

os: fedora gnome latest

package manager: uv

description of the build issue:
tesseract build examples/helloworld/
[i] Building image …
[-] Error building Tesseract: Docker build failed. Please check the build log for details:
[1/2] STEP 1/12: FROM debian:bookworm-slim AS build_stage
Resolved “debian” as an alias (/etc/containers/registries.conf.d/000-shortnames.conf)
Trying to pull Docker Hub Container Image Library | App Containerization
Error: creating build container: unable to copy from source docker://debian:bookworm-slim: initializing source docker://debian:bookworm-slim: pinging container registry ``registry-1.docker.io``: Get “``https://registry-1.docker.io/v2/”:`` dial tcp: lookup ``registry-1.docker.io``: Temporary failure in name resolution
Aborting

Thanks for your interest in Tesseracts!

This is likely a DNS/connectivity issue (potentially caused by a firewall) rather than a podman-specific problem. Can we try a few diagnostics first?

Can you run: curl -I https://registry-1.docker.io and share the output?

If that fails you have a DNS or connectivity issue (possibly due to registry access being blocked).

If the above works but Podman still fails, we’ll need to check Podman’s network configuration specifically:
podman login docker.io
podman system connection list

If you are stuck behind a firewall, your main alternatives consist of using default base images available on your system (e.g. fedora:latest, those returned from podman images, or loading your desired pre-downladed image from .tar file with podman load prior to building).

Best of luck with the Hackathon!

1 Like

Thanks for your reply.

Here is the output I obtained after executing the first command:

curl -I https://registry-1.docker.io
HTTP/2 404 
date: Wed, 10 Dec 2025 12:52:34 GMT
content-type: text/plain; charset=utf-8
content-length: 19
docker-distribution-api-version: registry/2.0
x-content-type-options: nosniff
strict-transport-security: max-age=31536000

Now I become able to successfully run my first tesseract!!!

1 Like

Glad you figured it out, let us know if there’s more we can help with! :slight_smile: