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.