HUB
Sign inSign up
grpc logo

openeuler/grpc

Sponsored OSS

By openeuler

•Updated 1 day ago

Image
0

321

openeuler/grpc repository overview

⁠Quick reference

⁠gRPC | openEuler

Current gRPC docker images are built on the openEuler⁠. This repository is free to use and exempted from per-user rate limits.

gRPC is a modern, open source, high performance Remote Procedure Call (RPC) framework that can run in any environment. It efficiently connects services across and within data centers with support for load balancing, tracing, health checking and authentication.

This image builds the gRPC C++ core from the upstream grpc/grpc⁠ release and ships the hello-world greeter_server (port 50051) and greeter_client for a quick functional check.

The tag of each grpc docker image is consist of the version of grpc and the version of basic image. The details are as follows

TagCurrentlyArchitectures
1.85.4-oe2403sp4⁠grpc 1.85.4 on openEuler 24.03-LTS-SP4amd64, arm64
1.86.0-oe2403sp4⁠grpc 1.86.0 on openEuler 24.03-LTS-SP4amd64, arm64

⁠Usage

In this usage, users can select the corresponding {Tag} based on their requirements.

  • Pull the openeuler/grpc image from docker

    docker pull openeuler/grpc:{Tag}
    
  • Start a gRPC hello-world instance

    docker run -d --name my-grpc -p 50051:50051 openeuler/grpc:{Tag}
    

    After my-grpc is started, connect a gRPC client to localhost:50051 (50051 is the gRPC port, not HTTP).

  • Verify the round trip inside the container

    docker exec -it my-grpc greeter_client --target=localhost:50051
    

    Expected output: Greeter received: Hello world

  • View container running logs

    docker logs -f my-grpc
    
  • To get an interactive shell

    docker run -it --rm openeuler/grpc:{Tag} bash
    

⁠Question and answering

If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images⁠.

Tag summary
Recent tags
Content type
Image
Digest
sha256:d2ba37514…
Size
2.2 GB
Last updated
1 day ago
docker pull openeuler/grpc:latest
This week's pulls