-
Notifications
You must be signed in to change notification settings - Fork 12
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
Comments
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. |
This comment has been minimized.
This comment has been minimized.
Sorr for not updating the issue - in the end (IMO) it is issue with documentation at https://docs.fedoraproject.org/en-US/bootc/getting-started/ . Based on the docs, it looks like podman-machine is needed only for running the bootc container, but that's not correct. You have to have podman-machine running before building bootc container, so the container gets built into the podman machine, not on your localhost. Then the bootc container was started correctly. The tricky thing is that if you build locally once, you have to specify you want to build into podman machine instead of locally - you have to find out the podman machine name (do |
Thanks @zdohnal ! It confused me at first since However, there is unexpected issue that all userspace packages specificed in Containerfile were installed as expected, but the kernel wasn't updated for some reason (unless converted to qcow2 image and started with qemu). |
Thanks for opening the issue! We recently updated the README of podman-bootc to highlight how to run it on Linux. Shall we update the upstream getting started guide as well? |
Thanks! BTW can we also simplify podman-bootc installation on RHEL (similar as on Fedora)? |
At the moment, the future of podman-bootc is not 100 percent clear. Over time, especially @cgwalters' mind has shifted a bit from podman-bootc to something closer to an SDK. We want to look into it after summit. |
@vrothberg I have created PR for Fedora guide https://gitlab.com/fedora/bootc/docs/-/merge_requests/92 . |
Hi,
I'm a bootc newbie, following https://docs.fedoraproject.org/en-US/bootc/getting-started/ . I have following Containerfile:
which I build by:
and then try to run by bootc:
but the last command ends with error:
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:
Thank you in advance!
Zdenek
The text was updated successfully, but these errors were encountered: