This hang is caused by the while loop while not ips or count == 10:
It can't get the ip address with container.get_ips(), thus ips is always empty and making this loop infinite.
https://github.com/lxc/python3-lxc/blob/master/examples/api_test.py#L121
I've created a MP to fix this.
This hang is caused by the while loop
while not ips or count == 10:
It can't get the ip address with container. get_ips( ), thus ips is always empty and making this loop infinite.
https:/ /github. com/lxc/ python3- lxc/blob/ master/ examples/ api_test. py#L121
I've created a MP to fix this.