containerd / rust-extensions

Rust crates to extend containerd
https://containerd.io
Apache License 2.0
172 stars 66 forks source link

Pull images via containerd client #282

Open aFuerst opened 3 months ago

aFuerst commented 3 months ago

I don't see a way to pull images with the current rust API. This issue and was closed after exposing the transfer and streaming RPC clients. Neither of these directly implement a fetch or pull and if they can be used to do so, I haven't been able to figure out how. What is the supported way to accomplish this? Thanks!

sebastianmarines commented 1 month ago

Did you figure out how to do this?

aFuerst commented 1 month ago

Sadly no. The rpc objects are for those two APIs just wrappers for an opaque Any type. What the proper shape(s) should be and what those endpoints actually do are also undocumented on the ctr server side.