Skip to content

Listen for network (dis)connect events (API v1.22+) #190

@AHelper

Description

@AHelper

If a container's network config changes, docker-gen should trigger the generator.

  • v1.20 and below don't support networks
  • v1.21 supports networks but has no events for network config changing
  • v1.22+ supports network events (and container update event, not sure what exactly triggers that)

Right now, v1.20+ needs either an interval, a restart of docker-gen, or a restart of the changed container.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions