nginx-proxy / docker-gen

Generate files from docker container meta-data
MIT License
4.43k stars 603 forks source link

feat: watch network connect / disconnect events #610

Open buchdag opened 4 months ago

buchdag commented 4 months ago

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

outdooracorn commented 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?

buchdag commented 4 months ago

I've pushed a custom built nginx-proxy image for you to test: docker pull nginxproxy/nginx-proxy:network-event

buchdag commented 3 months ago

@outdooracorn any luck trying nginxproxy/nginx-proxy:network-event ? Let me know if you need any help.

buchdag commented 2 months ago

Ping @outdooracorn 👋