Open buchdag opened 4 months ago
Thanks for creating this PR :raised_hands:
I use docker-gen
as part of the nginx-proxy
container. What would be the best way to test this PR? Build the binary locally and then docker cp
it into the container?
I've pushed a custom built nginx-proxy image for you to test: docker pull nginxproxy/nginx-proxy:network-event
@outdooracorn any luck trying nginxproxy/nginx-proxy:network-event
? Let me know if you need any help.
Ping @outdooracorn 👋
This PR make use of the new Docker API event format available on Docker API v1.22+ (the old event format is automatically translated to the new one by fsouza/go-dockerclient) and make docker-gen watch for network connect and disconnect events.
Close #190
Ping @outdooracorn