Host hostname #389
-
I realize the title is confusing 😛 . Sorry if there's a better forum for questions. I didn't see GitHub discussions enabled on this repo. Coming from docker desktop, the recommended pattern when wanting to refer to HTTP URLs on the macOS host was to use A concrete example is running a Postgres instance using Postgres.app and wanting to connect to it from a container running in Lima. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
We define |
Beta Was this translation helpful? Give feedback.
-
@AkihiroSuda Should we enable discussions, so we can move questions out of Issues, which should only have actionable items? |
Beta Was this translation helpful? Give feedback.
-
Wonderful. I'll give that a try. I had looked through the docs and didn't find this (sorry if I missed!) - so may be good to document it? Cheers |
Beta Was this translation helpful? Give feedback.
-
It is documented here: https://github.com/lima-vm/lima/blob/5237bfe/docs/network.md#host-ip-19216852 |
Beta Was this translation helpful? Give feedback.
-
A note though - |
Beta Was this translation helpful? Give feedback.
We define
host.lima.internal
to point to the host from inside the VM.