Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Q] How does external project start mock service with docker? #94

Open
1chickin opened this issue Sep 20, 2021 · 1 comment
Open

[Q] How does external project start mock service with docker? #94

1chickin opened this issue Sep 20, 2021 · 1 comment

Comments

@1chickin
Copy link

1chickin commented Sep 20, 2021

I have following project structure define 1 grpc api: calculator.Sum

image

I can run server, and get response successfully:

go run server/server.go
go run client/client.go

But i run image gripmock to mock service then fail. My commandline:

docker run -p 4770:4770 -p 4771:4771 -v <local path to project>/calculator/calculatorpb:/proto tkpd/gripmock /proto/calculator.proto

Error:
image

I look forward to the answer, best wishes!

@1chickin 1chickin changed the title [Q] How do start mock service with docker? [Q] How does external project start mock service with docker? Sep 21, 2021
@jekiapp
Copy link
Contributor

jekiapp commented Jun 13, 2022

try to use image tkpd/gripmock:v1.11-beta and remove the go_package declaration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants