Containerwatch is a daemon that automatically checks the Docker events and sends the notifications.
die - Container shutdowncreate - Container createdStart the Containerwatch as a Docker container by running:
docker run -d --name containerwatch \
# If DISCORD
-e CW_WEBHOOK_TYPE=discord \
-e CW_DISCORD_WEBHOOK=<your discord webhook> \
-e CW_DISCORD_USERNAME=<optional> \
# Else If Slack
-e CW_WEBHOOK_TYPE=slack \
-e CW_SLACK_WEBHOOK=<your slack webhook> \
# End if
-v /var/run/docker.sock:/var/run/docker.sock \ # Pass Docker Daemon API socket
flexpool/containerwatch
After that you should see the startup notification.
Any
CW_WEBHOOK_TYPE - Discord or Slack ("discord", "slack")Discord
CW_DISCORD_WEBHOOK - A Discord HTTP webhook. Required.CW_DISCORD_USERNAME - Choose custom Discord username. Optional.Slack
CW_SLACK_WEBHOOK - A Slack HTTP webhook. Required.Content type
Image
Digest
Size
7.7 MB
Last updated
about 6 years ago
docker pull flexpool/containerwatch