docker-event-handler/example.conf

13 lines
308 B
Plaintext
Raw Normal View History

2022-03-24 21:51:50 +01:00
[Container]
2022-03-22 19:27:39 +01:00
Action=start
2022-03-24 21:51:50 +01:00
Run=notify-send "{{ .Container.Name }}"
[Network]
Action=connect
Run=notify-send "connected container {{ .Container.Name }} to network {{ .Network.Name }}"
2022-03-22 19:27:39 +01:00
2022-03-24 21:51:50 +01:00
[Network]
Action=disconnect
Run=notify-send "disconnected container {{ .Container.Name }} from network {{ .Network.Name }}"