Are you an LLM? You can read better optimized documentation at /en/docs/common/faq/caselibrary/isulad.md for this page in Markdown format
Accessing iSulad Services Through gRPC and REST Protocols
gRPC Service Access
The default communication protocol between iSula and iSulad is gRPC, which is mandatory for CRI implementations in Kubernetes environments.
Developers integrating with iSulad via gRPC should consult the protocol buffer definitions at https://atomgit.com/openeuler/iSulad/tree/master/src/api/services, organized by functional modules.
For debugging gRPC interactions, install the community-developed grpcurl utility:
sh
go get github.com/fullstorydev/grpcurl
go install github.com/fullstorydev/grpcurl/cmd/grpcurlSample debugging command:
sh
grpcurl -plaintext -H 'tls_mode:0' -proto=api.proto -import-path=../ -unix=true /var/run/isulad.sock runtime.v1alpha2.ImageService.ListImagesREST Service Access
To configure REST-based communication:
- Clone the iSulad repository.
- Follow the build instructions.
Enable REST mode during compilation:
sh
cmake -DENABLE_GRPC=OFF .../Test REST endpoints using curl:
sh
curl -d "{}" --unix-socket /var/run/isulad.sock http://localhost/ContainerService/VersionLicensed under the MulanPSL2
Copyright © 2026 openEuler. All rights reserved.J. ICP B. No. 2020036654-1
J.G.W.A.B. No. 11030102011597
Licensed underthe MulanPSL2
Copyright © 2026 openEuler. All rights reserved.