Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run bootc container on localhost - getting "connection refused" #86

Open
zdohnal opened this issue Feb 11, 2025 · 1 comment
Open

Comments

@zdohnal
Copy link

zdohnal commented Feb 11, 2025

Hi,

I'm a bootc newbie, following https://docs.fedoraproject.org/en-US/bootc/getting-started/ . I have following Containerfile:

FROM quay.io/fedora/fedora-bootc:41
RUN dnf -y install setup
RUN dnf -y install cups && dnf clean all

which I build by:

podman build -t localhost/zdohnal/cups:bootc bootc/cups

and then try to run by bootc:

$ podman machine init --rootful --now
$ podman-bootc run --filesystem=xfs localhost/zdohnal/cups:bootc

but the last command ends with error:

$ podman-bootc run --filesystem=xfs localhost/zdohnal/cups:bootc
Trying to pull localhost/zdohnal/cups:bootc...
Error: unable to install bootc image: failed to pull image: initializing source docker://localhost/zdohnal/cups:bootc: pinging container registry localhost: Get "https://localhost/v2/": dial tcp [::1]:443: connect: connection refused

Do you know what can be the issue? podman-machine, podman-bootc do not have any service to run, and podman service running does not have any effect.

OS: Fedora 41
Podman:

podman-5.3.2-1.fc41.x86_64
podman-machine-5.3.2-1.fc41.x86_64
podman-bootc-v0.1.1~123~g96bfc8f-1.20241210141826117469.main.123.96bfc8f.fc41.x86_64

Thank you in advance!

Zdenek

@zdohnal
Copy link
Author

zdohnal commented Feb 11, 2025

I have tried to install podman-docker package (due having docker in the URL in the error, so I thought it is issue of bad name), but no change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant