mirror of
https://github.com/mag37/dockcheck.git
synced 2026-04-19 10:57:45 +00:00
Compare commits
2 Commits
85ebb0e715
...
v0.7.5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ee5575081 | ||
|
|
f1cc8190f9 |
@@ -13,9 +13,9 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2 align="center">CLI tool to automate docker image updates or notifying when updates are available.</h2>
|
<h2 align="center">CLI tool to automate docker image updates or notifying when updates are available.</h2>
|
||||||
<h3 align="center">selective updates, exclude containers, custom labels, notification plugins, prune when done etc.</h3>
|
<h3 align="center">selective updates, include/exclude containers, image backups, custom labels, notification plugins, prune when done etc.</h3>
|
||||||
|
|
||||||
<h4 align="center">:whale: Docker Hub pull limit :chart_with_downwards_trend: not an issue for checks but for actual pulls - <a href="#whale-docker-hub-pull-limit-chart_with_downwards_trend-not-an-issue-for-checks-but-for-actual-pulls">read more</a></h4>
|
<h4 align="center">:whale: Docker Hub pull limit :chart_with_downwards_trend: not an issue for checks only for actual pulls - <a href="#whale-docker-hub-pull-limit-chart_with_downwards_trend-not-an-issue-for-checks-but-for-actual-pulls">read more</a></h4>
|
||||||
|
|
||||||
<h5 align="center">For Podman - see the fork <a href="https://github.com/sudo-kraken/podcheck">sudo-kraken/podcheck</a>!</h4>
|
<h5 align="center">For Podman - see the fork <a href="https://github.com/sudo-kraken/podcheck">sudo-kraken/podcheck</a>!</h4>
|
||||||
|
|
||||||
@@ -26,7 +26,9 @@ ___
|
|||||||
- Added new option **BackupForDays**; `-b N` and `-B`:
|
- Added new option **BackupForDays**; `-b N` and `-B`:
|
||||||
- Backup an image before pulling a new version for easy rollback in case of breakage.
|
- Backup an image before pulling a new version for easy rollback in case of breakage.
|
||||||
- Removes backed up images older than *N* days.
|
- Removes backed up images older than *N* days.
|
||||||
- List currently backed up images with `-K`.
|
- List currently backed up images with `-B`.
|
||||||
|
- Fixes:
|
||||||
|
- Bugfix for `-s` *Stopped* to not recreate stopped containers after update.
|
||||||
- **v0.7.4**:
|
- **v0.7.4**:
|
||||||
- Added new option `-R`:
|
- Added new option `-R`:
|
||||||
- Will skip container recreation after pulling images.
|
- Will skip container recreation after pulling images.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
VERSION="v0.7.4"
|
VERSION="v0.7.5"
|
||||||
# ChangeNotes: New option -R to pull without recreation. Fixes: value too great error, legacy cleanups.
|
# ChangeNotes: New option -b N to backup image before pulling for easy rollback.
|
||||||
Github="https://github.com/mag37/dockcheck"
|
Github="https://github.com/mag37/dockcheck"
|
||||||
RawUrl="https://raw.githubusercontent.com/mag37/dockcheck/main/dockcheck.sh"
|
RawUrl="https://raw.githubusercontent.com/mag37/dockcheck/main/dockcheck.sh"
|
||||||
|
|
||||||
@@ -271,7 +271,7 @@ remove_backups() {
|
|||||||
backup_date=${backup_tag%%_*}
|
backup_date=${backup_tag%%_*}
|
||||||
# UNTAGGING HERE
|
# UNTAGGING HERE
|
||||||
if datecheck "$backup_date" "$BackupForDays"; then
|
if datecheck "$backup_date" "$BackupForDays"; then
|
||||||
[[ "$CleanupCount" == 0 ]] && echo "Removing backed up images older then $BackupForDays days."
|
[[ "$CleanupCount" == 0 ]] && printf "\n%bRemoving backed up images older then %s days.%b\n" "$c_blue" "$BackupForDays" "$c_reset"
|
||||||
docker rmi "${repo_name}:${backup_tag}" && ((CleanupCount+=1))
|
docker rmi "${repo_name}:${backup_tag}" && ((CleanupCount+=1))
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
@@ -279,7 +279,8 @@ remove_backups() {
|
|||||||
if [[ "$CleanupCount" == 0 ]]; then
|
if [[ "$CleanupCount" == 0 ]]; then
|
||||||
printf "\nNo backup images to remove.\n"
|
printf "\nNo backup images to remove.\n"
|
||||||
else
|
else
|
||||||
printf "\n%b%s%b backup removed.%b\n" "$c_green" "$CleanupCount" "$c_teal" "$c_reset"
|
[[ "$CleanupCount" -gt 1 ]] && b_phrase="backups" || b_phrase="backup"
|
||||||
|
printf "\n%b%s%b %s removed.%b\n" "$c_green" "$CleanupCount" "$c_teal" "$b_phrase" "$c_reset"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -15,12 +15,14 @@ calibre https://github.com/linuxserver/docker-calibre/releases
|
|||||||
calibre-web https://github.com/linuxserver/docker-calibre-web/releases
|
calibre-web https://github.com/linuxserver/docker-calibre-web/releases
|
||||||
cleanuperr https://github.com/flmorg/cleanuperr/releases
|
cleanuperr https://github.com/flmorg/cleanuperr/releases
|
||||||
cross-seed https://github.com/cross-seed/cross-seed/releases
|
cross-seed https://github.com/cross-seed/cross-seed/releases
|
||||||
|
crowdsec https://github.com/crowdsecurity/crowdsec/releases
|
||||||
cup https://github.com/sergi0g/cup/releases
|
cup https://github.com/sergi0g/cup/releases
|
||||||
dockge https://github.com/louislam/dockge/releases
|
dockge https://github.com/louislam/dockge/releases
|
||||||
dozzle https://github.com/amir20/dozzle/releases
|
dozzle https://github.com/amir20/dozzle/releases
|
||||||
flatnotes https://github.com/dullage/flatnotes/releases
|
flatnotes https://github.com/dullage/flatnotes/releases
|
||||||
forgejo https://codeberg.org/forgejo/forgejo/releases
|
forgejo https://codeberg.org/forgejo/forgejo/releases
|
||||||
fressrss https://github.com/FreshRSS/FreshRSS/releases
|
fressrss https://github.com/FreshRSS/FreshRSS/releases
|
||||||
|
gerbil https://github.com/fosrl/gerbil/releases
|
||||||
gluetun https://github.com/qdm12/gluetun/releases
|
gluetun https://github.com/qdm12/gluetun/releases
|
||||||
go2rtc https://github.com/AlexxIT/go2rtc/releases
|
go2rtc https://github.com/AlexxIT/go2rtc/releases
|
||||||
gotify https://github.com/gotify/server/releases
|
gotify https://github.com/gotify/server/releases
|
||||||
@@ -45,9 +47,11 @@ mealie https://github.com/mealie-recipes/mealie/releases
|
|||||||
meilisearch https://github.com/meilisearch/meilisearch/releases
|
meilisearch https://github.com/meilisearch/meilisearch/releases
|
||||||
monica https://github.com/monicahq/monica/releases
|
monica https://github.com/monicahq/monica/releases
|
||||||
mqtt https://github.com/eclipse/mosquitto/tags
|
mqtt https://github.com/eclipse/mosquitto/tags
|
||||||
|
newt https://github.com/fosrl/newt/releases
|
||||||
nextcloud-aio-mastercontainer https://github.com/nextcloud/all-in-one/releases
|
nextcloud-aio-mastercontainer https://github.com/nextcloud/all-in-one/releases
|
||||||
nginx https://github.com/docker-library/official-images/blob/master/library/nginx
|
nginx https://github.com/docker-library/official-images/blob/master/library/nginx
|
||||||
owncast https://github.com/owncast/owncast/releases
|
owncast https://github.com/owncast/owncast/releases
|
||||||
|
pangolin https://github.com/fosrl/pangolin/releases
|
||||||
prowlarr https://github.com/Prowlarr/Prowlarr/releases
|
prowlarr https://github.com/Prowlarr/Prowlarr/releases
|
||||||
prowlarr-ls https://github.com/linuxserver/docker-prowlarr/releases
|
prowlarr-ls https://github.com/linuxserver/docker-prowlarr/releases
|
||||||
qbittorrent https://www.qbittorrent.org/news
|
qbittorrent https://www.qbittorrent.org/news
|
||||||
@@ -66,6 +70,7 @@ snappymail https://github.com/the-djmaze/snappymail/releases
|
|||||||
sonarr https://github.com/Sonarr/Sonarr/releases/
|
sonarr https://github.com/Sonarr/Sonarr/releases/
|
||||||
sonarr-ls https://github.com/linuxserver/docker-sonarr/releases
|
sonarr-ls https://github.com/linuxserver/docker-sonarr/releases
|
||||||
syncthing https://github.com/syncthing/syncthing/releases
|
syncthing https://github.com/syncthing/syncthing/releases
|
||||||
|
tailscale https://github.com/tailscale/tailscale/releases
|
||||||
tautulli https://github.com/Tautulli/Tautulli/releases
|
tautulli https://github.com/Tautulli/Tautulli/releases
|
||||||
thelounge https://github.com/thelounge/thelounge/releases
|
thelounge https://github.com/thelounge/thelounge/releases
|
||||||
traefik https://github.com/traefik/traefik/releases
|
traefik https://github.com/traefik/traefik/releases
|
||||||
|
|||||||
Reference in New Issue
Block a user