Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Recommended way for container networking in cloud build? #87

Closed
ggprod opened this issue Jan 2, 2019 · 5 comments
Closed

Recommended way for container networking in cloud build? #87

ggprod opened this issue Jan 2, 2019 · 5 comments

Comments

@ggprod
Copy link

ggprod commented Jan 2, 2019

I'm setting up an integration test on cloud build and am starting a set of containers that I'd like to be able to communicate. I used an approach similar to the one recommended here: https://stackoverflow.com/a/52400857/8115327

Basically I am using build steps executing docker-compose to create the containers and add them to the cloudbuild network. I was expecting to be able to address them via their container names but they are not finding each other.

What is the recommended way to have containers able to communicate to each other via container name?

@ggprod ggprod closed this as completed Jan 2, 2019
@ggprod ggprod reopened this Jan 2, 2019
@ggprod
Copy link
Author

ggprod commented Jan 2, 2019

oops.. will put this question in the standard cloud build project

@ggprod ggprod closed this as completed Jan 2, 2019
@eddiemonge
Copy link

Can you link to that issue you created?

@ggprod
Copy link
Author

ggprod commented Apr 17, 2019

Yes, I had posted this on a Google Cloud Insider's forum:
https://groups.google.com/forum/#!searchin/google-cloud-insiders/mark$20pevec%7Csort:date/google-cloud-insiders/thR6DM6YQZo/-rDcZZm0DwAJ

From there, I was pointed to this example repo:
https://github.com/Philmod/gcb-docker-compose

@northtree
Copy link

@ggprod Have you solved this issue yet?

@ggprod
Copy link
Author

ggprod commented Jul 18, 2019

@northtree yes, using the same approach as in the example https://github.com/Philmod/gcb-docker-compose (placing all the test containers on the cloudbuild docker bridge network)

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

No branches or pull requests

3 participants