I am trying to invoke the gRPC API implementation in containerd using the below command of grpcurl:
.\grpcurl -plaintext -import-path "D:\github.com\containerd\api\services\containers\v1" -proto "D:\github.com\containerd\api\services\containers\v1\containers.proto" -d '{ \"filters\": \"k8s\" }' localhost:8080 containerd.services.containers.v1.Containers/List
The response I am getting is below:
ERROR:
Code: Unimplemented
Message: unknown service containerd.services.containers.v1.Containers
What is the right way to invoke the service using grpcurl?
I tried ctr.exe and it is responding according to expectations correctly. So, I conclude that the gRPC service is running.
Thanks!