{"id":13582417,"url":"https://github.com/logocomune/webhookdocker","last_synced_at":"2025-10-08T06:48:41.083Z","repository":{"id":57521782,"uuid":"251758475","full_name":"logocomune/webhookdocker","owner":"logocomune","description":"A Keybase, Slack and WebEx integration to notify Docker Events via incoming webhook","archived":false,"fork":false,"pushed_at":"2025-06-11T10:40:15.000Z","size":204,"stargazers_count":4,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-03T16:39:58.802Z","etag":null,"topics":["docker","docker-events","golang","keybase","slack-incoming-webhooks","webex"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/logocomune.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-03-31T22:32:38.000Z","updated_at":"2025-06-12T07:46:56.000Z","dependencies_parsed_at":"2024-01-19T08:15:48.902Z","dependency_job_id":"6cce7126-ad47-4cf7-aad1-5192c3f2961a","html_url":"https://github.com/logocomune/webhookdocker","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/logocomune/webhookdocker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logocomune%2Fwebhookdocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logocomune%2Fwebhookdocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logocomune%2Fwebhookdocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logocomune%2Fwebhookdocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/logocomune","download_url":"https://codeload.github.com/logocomune/webhookdocker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logocomune%2Fwebhookdocker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278903008,"owners_count":26065786,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-events","golang","keybase","slack-incoming-webhooks","webex"],"created_at":"2024-08-01T15:02:41.787Z","updated_at":"2025-10-08T06:48:41.067Z","avatar_url":"https://github.com/logocomune.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Webhook Docker\n![Docker Pulls](https://img.shields.io/docker/pulls/logocomune/webhook-docker)\n[![](https://images.microbadger.com/badges/version/logocomune/webhook-docker:1.4.0.svg)](https://microbadger.com/images/logocomune/webhook-docker:1.4.0 \"Get your own version badge on microbadger.com\")\n[![](https://images.microbadger.com/badges/image/logocomune/webhook-docker:1.4.0.svg)](https://microbadger.com/images/logocomune/webhook-docker:1.4.0 \"Get your own image badge on microbadger.com\")\n[![Go Report Card](https://goreportcard.com/badge/github.com/logocomune/webhookdocker)](https://goreportcard.com/report/github.com/logocomune/webhookdocker)\n\nA [Keybase](https://keybase.io), [Slack](https://slack.com), [WebEx](https://www.webex.com/) and [Google Chat](https://chat.google.com/) integration to notify Docker Events via incoming webhook\n\n## Keybase webhook setup\n\n+ Add [webhookbot](https://keybase.io/webhookbot) from list of Bots\n+ Create a new webhook for sending messages into the current conversation. You must supply a name as well to identify the webhook. Example: `!webhook create alerts`\n+ Get the new URL to send webhooks\n\n![Docker events on keybase](https://raw.githubusercontent.com/logocomune/webhookdocker/master/_img/keybase.png)\n\n## Slack webhook setup\n\n+ Setup [Incoming Slack](https://my.slack.com/services/new/incoming-webhook)\n\n![Docker events on keybase](https://raw.githubusercontent.com/logocomune/webhookdocker/master/_img/slack.png)\n\n\n## WebEx webhook setup\n\n+ Connect [Incoming Webhooks](https://apphub.webex.com/teams/applications/incoming-webhooks-cisco-systems)\n\n![Docker events on WebEx](https://raw.githubusercontent.com/logocomune/webhookdocker/master/_img/webex.png)\n\n\n## Google Chat webhook setup\n\n+ Set up [Incoming Webhooks](https://developers.google.com/chat/how-tos/webhooks) for your Google Chat space\n\n\n## Run\n\nCapture docker events and send to Keybase:\n\n```shell\n$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock:ro \\\nlogocomune/webhook-docker:v1.4.0 --keybase-endpoint=https://bots.keybase.io/webhookbot/....\n```\n\n\n\nCapture docker events and send to Slack:\n```shell\n$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock:ro \\\nlogocomune/webhook-docker:v1.4.0 --slack-endpoint=https://hooks.slack.com/services/....\n```\n\nCapture docker events and send to WebEx:\n```shell\n$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock:ro \\\nlogocomune/webhook-docker:v1.4.0 --webex-endpoint=https://api.ciscospark.com/v1/webhooks/incoming/....\n```\n\nCapture docker events and send to Google Chat:\n```shell\n$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock:ro \\\nlogocomune/webhook-docker:v1.4.0 --google-chat-endpoint=https://chat.googleapis.com/v1/spaces/....\n```\n\n\n### Application options\n\n| flag | Environment |type | Default | |\n| --- | --- | --- | --- | --- |\n| --node-name | WD_NODE_NAME |String| | Node name. If empty use the hostname |\n| --hide-node-name | WD_HIDE_NODE_NAME |Boolean| false | Node name is omitted |\n| --docker-external-instance-inspection | WD_DOCKER_EXTERNAL_INSTANCE_INSPECTION  | String | Add an external inspection url. Eg: https://myhost.ext/inspection/#/containers/__ID__|\n| --docker-show-running | WD_DOCKER_SHOW_RUNNING | Boolean | false | Send running container to webhook |\n| --docker-listen-container-events | WD_DOCKER_LISTEN_CONTAINER_EVENTS | Boolean | true | Listen for container events |\n| --docker-listen-network-events | WD_DOCKER_LISTEN_NETWORK_EVENTS | Boolean | true | Listen for network events | \n| --docker-listen-volume-events |WD_DOCKER_LISTEN_VOLUME_EVENTS | Boolean | true | Listen for volume events | \n| --docker-listen-container-actions | WD_DOCKER_LISTEN_CONTAINER_ACTIONS| Strings separated by ; | attach;create;destroy;detach;die;kill;oom;pause;rename;restart;start;stop;unpause;update | Docker container events  |\n| --docker-listen-network-actions | WD_DOCKER_LISTEN_NETWORK_ACTIONS | Strings separated by ; | create;connect;destroy;disconnect;remove | Docker network events |\n| --docker-listen-volume-actions | WD_DOCKER_LISTEN_VOLUME_ACTIONS |  Strings separated by ; |  create;destroy;mount;unmount | Docker volume events |\n| --docker-filter-container-name | WD_DOCKER_FILTER_CONTAINER_NAME | Regexp | |Filter events by container name (default all) |\n| --docker-filter-negate-container-name | WD_DOCKER_FILTER_NEGATE_CONTAINER_NAME | Boolean | false | Negate the filter of container name |\n| --docker-filter-image-name | WD_DOCKER_FILTER_IMAGE_NAME | Regexp | |Filter events by image name (default all) | \n| --docker-filter-negate-image-name | WD_DOCKER_FILTER_NEGATE_IMAGE_NAME | Boolean | false | Negate the filter of image name |\n| --keybase-endpoint | WD_KEYBASE_ENDPOINT | String | |  Keybase endpoint for webhook | \n| --slack-endpoint | WD_SLACK_ENDPOINT | String | | Slack endpoint for webhook |\n| --webex-endpoint | WD_WEBEX_ENDPOINT | String | | WebEx endpoint for webhook |\n| --google-chat-endpoint | WD_GOOGLE_CHAT_ENDPOINT | String | | Google Chat endpoint for webhook |\n\n#### Regexp Filters\n\nCapture events of container with names with the following formats:\n+ exec-1234\n+ exec-abcd-12345\n\n```shell\n$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock:ro \\\n--docker-filter-container-name=\"^exec-.*$\" \\\nlogocomune/webhook-docker:latest --webex-endpoint=https://api.ciscospark.com/v1/webhooks/incoming/....\n```\n\n*Exclude* events of container with the following formats:\n+ exec-1234\n+ exec-abcd-12345\n\n```shell\n$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock:ro \\\n--docker-filter-container-name=\"^exec-.*$\" \\\n--docker-filter-negate-container-name \\\nlogocomune/webhook-docker:latest --webex-endpoint=https://api.ciscospark.com/v1/webhooks/incoming/....\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogocomune%2Fwebhookdocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flogocomune%2Fwebhookdocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogocomune%2Fwebhookdocker/lists"}