mirror of
https://github.com/mag37/dockcheck.git
synced 2026-02-14 15:28:22 +01:00
* added check for docker socket permissions * added sudo-check to pkg-manager * corrected variable typo and some printf colors * and newline.. * DSM extra readme added * final tweaks, DSM readme * added markdown to readme * added markdown support to telegram template * removed container specification from compose up -d This will ensure any dependant containers in the same stack will restart, others will be untouched. * Rearranged where the url enrichment happens |
||
|---|---|---|
| .. | ||
| dsm1.png | ||
| dsm2.png | ||
| dsm3.png | ||
| README.md | ||
Using Dockcheck in DSM
Dockcheck cannot directly update containers managed in the Container Manager GUI, but it can still be used to notify you of containers with updates available. There are two ways to be notified, each with their own caveats:
- Enabling email notifications within the Task Scheduler (step 6i below) will send an email that includes the entire script as run. This will not include the
urls.listlinks to release notes, but it will show a full list of containers checked, up to date, and needing updates (following the args included in the scheduled task). - The DSM notification template will enable Dockcheck to directly send an email when using the
-iflag. This is most useful when paired with an accurate urls.list file, and results in a neat succinct email notification of only containers to be updated.
This is a user preference, and both notifications are not necessary. However, regardless of the notification method, it is necessary to set up a scheduled task to run Dockcheck at a set interval (otherwise it will only run when manually triggered).
Automate Dockcheck with DSM Task Scheduler:
- Open Control Panel and navigate to Task Scheduler
- Create a Scheduled Task > User-defined script
- Task Name: Dockcheck
- User: root
- Schedule: User Preference
- Task Settings:
- ✔ Send run details by email (include preferred email) This is the optional step as described above)
- User-defined script:
export HOME=/root && cd /path/to/dockcheck && ./dockcheck.sh -n -i -Ior other custom args
- Click OK, accept warning message
Set up the DSM Notification template
Copy the dockcheck/notify_templates/notify_DSM.sh to the same directory as where you keep dockcheck.sh.
Use as is (uses your default notification email setting) or edit and override manually.
Made with much help and contribution from @firmlyundecided and @yoyoma2.


