Update README.md

This commit is contained in:
mag37 2023-01-18 21:03:42 +01:00 committed by GitHub
parent 83eb5505a1
commit d596df86a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,18 +1,23 @@
# dockcheck # dockcheck
A repo containing scripts and functions to check for docker updates for images, without the need of pulling. With the help of [`regctl`](https://github.com/regclient/regclient). Scripts and functions to check for docker updates for images, **without the need of pulling**. With the help of [`regctl`](https://github.com/regclient/regclient).
This is just for fun and inspiration, use with care. This is just a concept for fun and inspiration, use with care.
___ ___
## Dependencies: ## Dependencies:
Running docker (duh) and compose, either standalone or plugin. Running docker (duh) and compose, either standalone or plugin.
`regctl` by [regclient](https://github.com/regclient/regclient) `regctl` by [regclient](https://github.com/regclient/regclient)
___ ___
## `dockcheck_function.sh`
Brief function to check a single contianer (by name) if there's any available updates or not without the need of pulling.
`dockcheck nginx`
## `dockcheck.sh` ## `dockcheck.sh`
A script to check all currently running containers if they've got updates without pulling images, list them and give the option to update. A script to check all currently running containers if they've got updates without pulling images, list them and give the option to update.
[![asciicast](https://asciinema.org/a/Bt3UXSoDHIRSn0GbvfZmB0tV2.svg)](https://asciinema.org/a/Bt3UXSoDHIRSn0GbvfZmB0tV2) [![asciicast](https://asciinema.org/a/Bt3UXSoDHIRSn0GbvfZmB0tV2.svg)](https://asciinema.org/a/Bt3UXSoDHIRSn0GbvfZmB0tV2)
## `dc_function.sh`
Brief function to check a single contianer (by name) if there's any available updates or not **without the need of pulling**.
Preferably placed in `.bashrc` or similar.
Example:
```bash
$ dockcheck nginx
Updates available.
```