Module net_if

Source
Expand description

IP resolution on non-host Docker network.

Enums§

NetInterfaceError
Errors resolving network interface IP.

Constants§

DEFAULT_NET_IF_NAME
The ‘eth0’ interface tends to be the default interface that docker containers use to communicate with each other.

Functions§

resolve_net_if_ip
Reads IP of OS interface with given name, if exists.