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

Chore/docker non linux os #361

Merged
merged 3 commits into from
Jul 26, 2023
Merged

Chore/docker non linux os #361

merged 3 commits into from
Jul 26, 2023

Conversation

YOU54F
Copy link
Member

@YOU54F YOU54F commented Jul 25, 2023

If you run make examples on a windows or macos machine, they fail to connect, as the pact ruby cli cannot communicate with the pact broker via broker_app and needs to use host.docker.internal

https://medium.com/@TimvanBaarsen/how-to-connect-to-the-docker-host-from-inside-a-docker-container-112b4c71bc66

If you run on an arm64 machine, without defaulting to machine to use DOCKER_DEFAULT_HOST of linux/amd64 you cannot pull either image, as they are not multi-platform

https://github.com/pact-foundation/pact-broker-docker#platforms
https://github.com/pact-foundation/pact-ruby-cli

@YOU54F YOU54F merged commit 0f4cc40 into master Jul 26, 2023
43 checks passed
@YOU54F YOU54F deleted the chore/docker_non_linux_os branch July 26, 2023 13:55
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

Successfully merging this pull request may close these issues.

None yet

1 participant