From edf6d5bd7287e382857baed4884ab0466477c870 Mon Sep 17 00:00:00 2001 From: mag37 Date: Sat, 6 Jan 2024 08:40:26 +0100 Subject: [PATCH] added architecture workaround --- README.md | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 688125c..377e824 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@

With features like excluding specific containers, filter by name, auto-prune dangling images and more. -### :bell: Recent changes +### :bell: Changelog - **v0.3.3**: Added Apprise template and the option `-i` inform - to send notifications. - **v0.3.2**: Added a notify function to wrap a notify-script, currently DSM/Ssmtp + template script. - **v0.3.1**: Addded option `-m` , monochrome mode - no printf color codes. @@ -32,9 +32,10 @@ ___ ## Dependencies -Running docker (duh) and compose, either standalone or plugin. -[`regclient/regctl`](https://github.com/regclient/regclient) (Licensed under [Apache-2.0 License](http://www.apache.org/licenses/LICENSE-2.0)) -User will be prompted to download `regctl` if not in `PATH` or `PWD` +- Running docker (duh) and compose, either standalone or plugin. +- [`regclient/regctl`](https://github.com/regclient/regclient) (Licensed under [Apache-2.0 License](http://www.apache.org/licenses/LICENSE-2.0)) + - User will be prompted to download `regctl` if not in `PATH` or `PWD`. + - regctl requires `amd64/aarch64` - see [workaround](#workaround-for-non-amd-aarch) if other architecture is used. ___ @@ -93,6 +94,7 @@ Run it scheduled with `-ni` to only get notified when there's updates available! Further additions are welcome - suggestions or PR! Initiated and first contributed by [yoyoma2](https://github.com/yoyoma2). + ### :warning: `-r flag` disclaimer and warning **Wont auto-update the containers, only their images. (compose is recommended)** `docker run` dont support using new images just by restarting a container. @@ -103,6 +105,27 @@ Containers need to be manually stopped, removed and created again to run on the - Not respecting `--profile` options when re-creating the container. - Not working well with containers created by Portainer. +### Workaround for non **amd64** / **aarch64** +`regctl` provides binaries for amd64/aarch64, to use on other architecture you could try this workaround. +Run regctl in a contianer wrapped in a shell script. Copied from [regclient/docs/install.md](https://github.com/regclient/regclient/blob/main/docs/install.md): + +```sh +cat >regctl <