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

Network gateway not found errors #379

Closed
aOelschlager opened this issue Mar 7, 2024 · 3 comments
Closed

Network gateway not found errors #379

aOelschlager opened this issue Mar 7, 2024 · 3 comments

Comments

@aOelschlager
Copy link
Contributor

I have not experienced this error myself, however, four people have now ran into this error and reported it on Slack. I'm not sure why it's happening but the docker compose file that is generated is declaring the gateway network as external and that causes the network to not be created thus giving this error.
I know two of these were encountered on a vm. One had docker compose version one still installed.

Temporary fix has been to edit the docker compose file and remove the external part for the gateway network. Next, comment out the line that generates the docker compose file in the Makefile. Then run make starter or starter_dev again.

@alxp
Copy link
Contributor

alxp commented Mar 13, 2024

I don't know enough about docker to speak confidently about what the correct thing to chagne it is, but another temporary workaround is to run the command

docker network create gateway

and delete it with

docker network rm gateway

when not needed.

@ajstanley
Copy link
Contributor

The problem seems to come from declaring external: true in the network definition instead of internal: false
Docker docs.

@joecorall
Copy link
Contributor

Resolved by #381

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

4 participants