# gRPC hello for .net6.0 **Repository Path**: xiaobin80/grpc-hello ## Basic Information - **Project Name**: gRPC hello for .net6.0 - **Description**: gRPC Service Demo for .net6.0 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-09 - **Last Updated**: 2023-12-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # gRPC Service hello Docker support. ## docker image(china) ### edit json > sudo vi /etc/docker/daemon.json ```bash { "registry-mirrors" : [ "https://registry.docker-cn.com", "http://hub-mirror.c.163.com", "https://3laho3y3.mirror.aliyuncs.com", "http://f1361db2.m.daocloud.io", "https://mirror.ccs.tencentyun.com" ] } ``` ### restart docker ```bash sudo service docker restart ``` ## Server - Clone ```bash mkdir -p ~/gitee.com/xiaobin80 cd ~/gitee.com/xiaobin80 git clone https://gitee.com/xiaobin80/grpc-hello.git ``` - Build ```bash cd ./grpc-hello/GreeterServer sudo docker build -t greeterserver . ``` - Run ```bash sudo docker run \ -p 5001:5001 \ greeterserver ``` # Reference - [daemon-configuration-file](https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file) - [https头issue](https://stackoverflow.com/questions/63934850/exception-when-calling-grpc-server-from-net-framework-client)