vantage6.common.docker.addons.get_num_nonempty_networks#

get_num_nonempty_networks(container)#

Get number of networks the container is in where it is not the only one

Parameters:

container (Container) – The container in which we are interested

Returns:

Number of networks in which the container resides in which there are also other containers

Return type:

int