https://github.com/nextdoor/docker-events-watcher
https://github.com/nextdoor/docker-events-watcher
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/nextdoor/docker-events-watcher
- Owner: Nextdoor
- Created: 2020-04-28T18:43:48.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-01T17:05:49.000Z (about 6 years ago)
- Last Synced: 2025-03-17T21:45:21.206Z (over 1 year ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 0
- Watchers: 18
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Events Watcher
This is a docker container which listens to the host's docker events stream and takes actions by executing shell scripts. This is accomplished by exposing this container to the host's `/var/run/docker.sock` and `/proc`. Take special care as this container is run with privileged mode.
## Running
```
docker run \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /proc:/host/proc \
--privileged \
--network host \
docker-events-watcher:latest
```