By default Holochain will pick any open ephemeral udp ports for making direct webrtc connections, and Docker falls over if you try to publish the full port range. You can either use host networking for the container or configure Holochain to choose from a smaller port range and bind those. The conductor config for the port range is network.advanced.transportTx5.ephemeral_udp_port_min and network.advanced.transportTx5.ephemeral_udp_port_max.
To confirm a peer has a direct connection (not relayed) to another you can do a dump_network_metrics and look at the field transport_stats_connections[].is_webrtc. It will be true for a direct connection.
By default Holochain will pick any open ephemeral udp ports for making direct webrtc connections, and Docker falls over if you try to publish the full port range. You can either use host networking for the container or configure Holochain to choose from a smaller port range and bind those. The conductor config for the port range is
network.advanced.transportTx5.ephemeral_udp_port_minandnetwork.advanced.transportTx5.ephemeral_udp_port_max.To confirm a peer has a direct connection (not relayed) to another you can do a
dump_network_metricsand look at the fieldtransport_stats_connections[].is_webrtc. It will be true for a direct connection.