fussybeaver / bollard

Docker daemon API in Rust
Apache License 2.0
907 stars 134 forks source link

could support containerd runtime? #480

Open lddlww opened 1 week ago

lddlww commented 1 week ago

when i using containerd.sock , it always throw error, if bollard could support containerd runtime api , it would be great

best wishes

fussybeaver commented 1 week ago

It's possible, since some of the GRPC protobuf definitions should be shared with the "buildkit" part of Bollard, but it's not very related to the moby API...

Is there a particular use case you would like to satisfy?

lddlww commented 1 week ago

thanks for reply,well,my situation is for collection containers logs with vector (https://github.com/vectordotdev/vector) the vector collect container logs using Bollard rust lib which worked normal in docker;

however i install containerd standalone without through docker,and set docker_host = /var/run/containerd/containerd.sock, it always throw error,

if Bollard could compatibility containerd runtime,vector could work normal

best wishes