Container-to-container networking on macOS 15 with NoRouter #329
afbjorklund
started this conversation in
Ideas
Replies: 1 comment
-
|
The Instead it uses the host names that you specified in your norouter.yaml file, see Name Resolution $ more ~/.norouter/agent/hostaliases
host0 127.0.42.100.nip.io
host1 127.0.42.101.nip.io
host2 127.0.42.102.nip.io |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Regarding https://github.com/apple/container/blob/main/docs/technical-overview.md#macos-15-limitations
You can make up for the missing network connectivity between containers, with NoRouter.io:
The
norouterbinary needs to be installed to the local host and all containers. See Download.norouter show-installer | container execFor macOS you first need to add another alias for the loop back address, per Troubleshooting.
sudo ifconfig lo0 alias 127.0.42.100You could give the containers names, or add a user:
https://norouter.io/docs/getting-started/first-example/
It works similar to how it does with Docker or Podman:
https://norouter.io/docs/examples/
This warning message is "normal", until it has been fixed:
level=warning msg="failed to read \"/etc/hosts\"" error="open /etc/hosts: no such file or directory"It only blocks the
WriteEtcHostsfeature, not NoRouter.Beta Was this translation helpful? Give feedback.
All reactions