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

Containers on neurobagel-node cannot access services on host via host.docker.internal #124

Closed
alyssadai opened this issue Feb 22, 2024 · 1 comment
Labels
someday Not a priority right now, but we want to keep this around to think or discuss more. type:bug Defects in shipped code and fixes for those defects

Comments

@alyssadai
Copy link

When an f-API is deployed on this machine in either a standalone container on the default bridge network, or via our local_federation recipe, it cannot access services like the n-API from the local_node recipe, which expose a port to the host and should be accessible via host.docker.internal:<port on host>.

So far, only using the external URL for the n-API (NGINX) in local_nb_nodes.json works.

Notes:

  • Running curl -vv in a bash terminal inside the container shows that host.docker.internal successfully resolves to whatever the default bridge network IP address is, but services with published ports on the host still can't be reached
@alyssadai alyssadai added type:bug Defects in shipped code and fixes for those defects someday Not a priority right now, but we want to keep this around to think or discuss more. labels Feb 22, 2024
@alyssadai
Copy link
Author

We don't plan to investigate this further for now since we've moved away from using a VM with a NFS due to various issues and quirks associated with that setup. This is also a server scenario that's unlikely to be common among deploying institutes.

@alyssadai alyssadai closed this as not planned Won't fix, can't repro, duplicate, stale Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
someday Not a priority right now, but we want to keep this around to think or discuss more. type:bug Defects in shipped code and fixes for those defects
Projects
Status: Review - Done
Development

No branches or pull requests

1 participant