-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Description
Followup from bootc-dev/containers-image-proxy-rs#108 ...
I get the following:
⬢ [jeckersb@toolbx bootc]$ cargo run -- container compute-composefs-digest localhost/bootc:latest
Finished `dev` profile [optimized + debuginfo] target(s) in 0.22s
Running `target/debug/bootc container compute-composefs-digest 'localhost/bootc:latest'`
error: Pulling image: other error: skopeo proxy unexpectedly exited during request method Initialize: exit status: 125
Error: cannot use command "podman unshare" with the remote podman client
Which makes sense... but given the context of just reading an image from my rootless containers-storage in my home directory I don't see why that "podman unshare" is even required.
So I did a bit of digging with claude alongside, and it came up with this (attached hopefully) python script to sanity check that the proxy could be initialized. And surprisingly, it seems like it does work ok from within my toolbox:
⬢ [jeckersb@toolbx skopeo]$ ./test-proxy.py
Starting skopeo experimental-image-proxy...
Sending Initialize request...
Initialize Response: {
"success": true,
"value": "0.2.8",
"pipeid": 0,
"error_code": "",
"error": ""
}
Sending Shutdown request...
Process exited with code: 0
=== STDERR ===
time="2025-11-20T14:49:48-05:00" level=debug msg="Executing method Initialize"
time="2025-11-20T14:49:48-05:00" level=debug msg="Using SQLite blob info cache at /var/home/jeckersb/.local/share/containers/cache/blob-info-cache-v1.sqlite"
time="2025-11-20T14:49:48-05:00" level=debug msg="Sending reply: err=<nil> value=0.2.8 pipeid=0 datafd=<nil> errfd=<nil>"
time="2025-11-20T14:49:48-05:00" level=debug msg="Executing method Shutdown"
time="2025-11-20T14:49:48-05:00" level=debug msg=terminating
=== STRACE (filtered for podman/unshare/exec) ===
215823 execve("/usr/bin/skopeo", ["skopeo", "experimental-image-proxy", "--debug"], 0x7ffead7e08d8 /* 51 vars */) = 0
So now I'm a bit confused about where exactly the error is coming from with podman unshare. Some sort of interaction with bootc itself re-execing? I don't see anything obvious in containers-image-proxy to explain it.
Metadata
Metadata
Assignees
Labels
No labels