Podman¶
Access MacOS host from a podman container¶
Reference:
- Access MacOS host from a docker container
- How Podman can extract a container’s external IP address
- https://github.com/containers/podman/issues/10878
Simply use host.containers.internal
as a reference to external IP address.
Run the following snippets in separate terminals.
Terminal 1 | Terminal 2 |
---|---|
|
|