Skip to content

Docker networks do not get destroyed after execution/networks{} from networksActions.py is empty on new thread #3

Description

@mewitte

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions