Comments (3)
I have an old rpi2 on which I recently installed docker so I just tried dockcheck and it failed. The workaround given above worked for me thanks! Amazing what docker can do!
from dockcheck.
This is due to the binaries from regclient are amd64 or arm64 architecture (rpi3, rpi4, rpiZ2). So if you've got an older Pi (or 32bit OS for other reasons) there's no binaries that supports it.
What you could do is a work-around - where you run regctl in a contianer and wrap it in a shell script. It's not the most elegant solution and it'll be slower than having the proper binary. But it works.
Copied from regclient/docs/install.md:
cat >regctl <<EOF
#!/bin/sh
opts=""
case "\$*" in
"registry login"*) opts="-t";;
esac
docker container run \$opts -i --rm --net host \\
-u "\$(id -u):\$(id -g)" -e HOME -v \$HOME:\$HOME \\
-v /etc/docker/certs.d:/etc/docker/certs.d:ro \\
ghcr.io/regclient/regctl:latest "\$@"
EOF
chmod 755 regctl
Test it with ./regctl --help
and then either add the file to the same path as dockcheck.sh or in your path (eg. ~/.local/bin/regctl
).
I might add this to the readme actually, have forgotten to worn on supporting older architecture.
from dockcheck.
Yeah I'm glad it worked - I tested it on a rpi2 myself just to be sure before suggesting :)
Added this to the readme going up in the next version.
from dockcheck.
Related Issues (20)
- ConPath does not contain a valid path from com.docker.compose.project.working_dir HOT 4
- [FEATURE REQUEST] email notification (patch included) HOT 3
- Only update container if the new container is X days old HOT 6
- [FEATURE REQUEST] monochrome mode HOT 6
- [Feature Request] Update docker-compose stacks and/or Respect docker-compose "depends_on" HOT 11
- [chore] forgot to add the v0.3.2 branch :) HOT 1
- [Feature] Integration for pushbullet support - script attached HOT 3
- Add capability to authenticate with docker account when pulling images HOT 5
- [FEATURE REQUEST] save preference regarding updates (git/curl) HOT 1
- [FEATURE REQUEST] Add option do define/use multiple .env-files HOT 10
- Progress bar fails with -s option HOT 3
- [FEATURE REQUEST] Automatically download latest in use notification add-on HOT 3
- [Feature] Add -v flag for version number printing of dockcheck HOT 1
- [FEATURE REQUEST] Add Link to GitHub repo HOT 3
- Show current/available image version HOT 4
- [FEATURE REQUEST] Telegram notification HOT 3
- [FEATURE REQUEST] Minimal Output HOT 6
- Readme: add install instructions HOT 5
- [Feature Request] - Web Interface Productivity Improvements / Updates Suggestions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockcheck.