-
Notifications
You must be signed in to change notification settings - Fork 116
bootc install does not use my podman credentials #436
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
Comments
I would expect that |
#428 tracks importing credentials in this case; what do you think of that one?
There is |
Why is this a foot-gun? Why would fetch check be an error? Should it only be a warning by default? |
Because it's really easy to fall into the trap of failing to configure the fetch credentials inside one's image, right? |
I usually save QUAY_SECRET into
|
I stumbled upon this issue, it's not obvious why bootc doesn't use the same files as podman to organize authentication. |
To add to this it seems logical that if you were to pull the OS image into container storage IE $ podman pull 192.168.1.42:5000/flightctl-device:v3
Trying to pull 192.168.1.42:5000/flightctl-device:v3...
Getting image source signatures
Copying blob f314e09c5f79 skipped: already exists
Copying blob f314e09c5f79 skipped: already exists
....
$ bootc switch --transport containers-storage 192.168.1.42:5000/flightctl-device:v3
layers already present: 75; layers needed: 2 (624 bytes)
Fetched layers: 624 B in 15 seconds (41 B/s) If the image is pulled why do we still need to fetch 2 layers? |
Yes, I agree it is painful, but there is a rationale. https://docs.fedoraproject.org/en-US/bootc/container-pull-secrets/#_unifying_bootc_and_podman_credentials has one suggestion. |
containers-storage aka |
I've tried to install a bootable container with an
install to-filesystem
as documented here: https://containers.github.io/bootc/bootc-install.html#executing-bootc-installMy image is pushed in a private registry tag (in quay.io). However bootc cannot access my repository. I used
podman login quay.io
to login on the host, which allowspodman
to pull the container image, but for some reason that I cannot understandbootc
wants to access it again:The text was updated successfully, but these errors were encountered: