{"id":13582442,"url":"https://github.com/int128/slack-docker","last_synced_at":"2025-04-05T08:05:29.665Z","repository":{"id":21466244,"uuid":"24784729","full_name":"int128/slack-docker","owner":"int128","description":"Slack/Mattermost Integration for notifying Docker events, written in Go","archived":false,"fork":false,"pushed_at":"2025-03-25T23:09:27.000Z","size":197,"stargazers_count":113,"open_issues_count":11,"forks_count":30,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-29T07:06:57.925Z","etag":null,"topics":["docker","docker-events","golang","slack","slack-incoming-webhooks"],"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/int128.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}},"created_at":"2014-10-04T08:06:48.000Z","updated_at":"2025-03-18T07:25:08.000Z","dependencies_parsed_at":"2024-01-10T18:48:59.265Z","dependency_job_id":"b9eee125-2110-4533-9045-b58869d675c8","html_url":"https://github.com/int128/slack-docker","commit_stats":{"total_commits":183,"total_committers":5,"mean_commits":36.6,"dds":"0.46448087431693985","last_synced_commit":"8414fefe22e757f018e565232d9b3c8acbe040b7"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/int128%2Fslack-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/int128%2Fslack-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/int128%2Fslack-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/int128%2Fslack-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/int128","download_url":"https://codeload.github.com/int128/slack-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247305933,"owners_count":20917208,"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","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","slack","slack-incoming-webhooks"],"created_at":"2024-08-01T15:02:42.870Z","updated_at":"2025-04-05T08:05:29.643Z","avatar_url":"https://github.com/int128.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# slack-docker [![go](https://github.com/int128/slack-docker/actions/workflows/go.yaml/badge.svg)](https://github.com/int128/slack-docker/actions/workflows/go.yaml)\n\nA Slack integration to notify [Docker events](https://docs.docker.com/engine/reference/commandline/events/).\n\n\u003cimg width=\"596\" alt=\"slack-docker-screenshot\" src=\"https://user-images.githubusercontent.com/321266/47410763-c7682d80-d7a1-11e8-8f05-c80786152604.png\"\u003e\n\n\n## Getting Started\n\nSetup [an Incoming WebHook](https://my.slack.com/services/new/incoming-webhook) on your Slack workspace and get the WebHook URL.\n\nInstall slack-docker by brew tap or from the [releases](https://github.com/int128/slack-docker/releases).\n\n```sh\nbrew tap int128/slack-docker\nbrew install slack-docker\n```\n\nRun the command with the WebHook URL.\n\n```sh\nslack-docker --webhook=https://hooks.slack.com/services/...\n```\n\nYou can run the Docker image [`ghcr.io/int128/slack-docker`](https://ghcr.io/int128/slack-docker).\n\n```sh\n# Docker\ndocker run -d -e webhook=https://hooks.slack.com/services/... -h \"$(hostname)\" -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/int128/slack-docker\n\n# Docker Compose\ncurl -O https://raw.githubusercontent.com/int128/slack-docker/master/docker-compose.yml\ndocker-compose up -d\n```\n\n\n## Configuration\n\nIt supports the following options and environment variables:\n\n```\nApplication Options:\n      --webhook=      Slack Incoming WebHook URL [$webhook]\n      --image-regexp= Filter events by image name (default to all) [$image_regexp]\n\nHelp Options:\n  -h, --help          Show this help message\n```\n\n\n### Filter events by image name\n\n```sh\nwebhook=https://hooks.slack.com/services/... image_regexp='^alpine$' ./slack-docker\n```\n\n\n## Contribution\n\nThis is an open source software licensed under Apache-2.0.\nFeel free to open issues or pull requests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fint128%2Fslack-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fint128%2Fslack-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fint128%2Fslack-docker/lists"}