After executing the yaml script, the docker networks are not destroyed. The containers themselves are destroyed correctly.
I assume this problem occurs from threading, so that every thread creates it's own instance of networksActions and the networks dict. I don't have enough Python experience to say for sure though.
Maybe a Singleton helps, if that is doable and good style in Python?
After executing the yaml script, the docker networks are not destroyed. The containers themselves are destroyed correctly.
I assume this problem occurs from threading, so that every thread creates it's own instance of networksActions and the networks dict. I don't have enough Python experience to say for sure though.
Maybe a Singleton helps, if that is doable and good style in Python?