vantage6.common.docker.addons.delete_network

delete_network(network, kill_containers=True)

Delete network and optionally its containers

Parameters:
  • network (Network | None) – Network to delete

  • kill_containers (bool) – Whether to kill the containers in the network (otherwise they are merely disconnected)

Return type:

None