Open Drel opened 9 months ago
This is a class of failure I've tried to understand over the years. I have no idea what causes docker to request non-standard image archs.
I'm getting this error now!
It seems like a classic vs buildkit issue.
The normalized platform names can be find in containerd source code
// The following are performed for architectures:
//
// Value Normalized
// aarch64 arm64
// armhf arm
// armel arm/v6
// i386 386
// x86_64 amd64
// x86-64 amd64
In build.sh
the platform shoud be arm64
, not arm64v8
.
Possibly arm64/v8
would also work.
After installing following the Wiki directions on a freshly installed and updated 64 bit version of Ubuntu Server 22.04 on a Raspberry Pi 4, I noticed the following output from docker after starting the unifi service with systemctl. I used the exact compose.yml as given in the Wiki.
The requested image platform is linux/arm64v8 whereas the detected host platform is linux/arm64/v8 (note extra slash). What would be the appropriate way to resolve the warning? Specify a specific platform (linux/arm64/v8) within the compose.yml file?