linuxserver / docker-wireguard

GNU General Public License v3.0
2.83k stars 342 forks source link

[BUG] lscr.io/linuxserver/wireguard:latest does not work with arm64v8 #283

Closed logopk closed 1 year ago

logopk commented 1 year ago

Is there an existing issue for this?

Current Behavior

Following the announcement on https://www.linuxserver.io/blog/a-farewell-to-arm-hf I have updated my Pi 3b+ to 64bit.

Now my compose file with lscr.io/linuxserver/wireguard:latest fails with the message:

docker pull lscr.io/linuxserver/wireguard:latest
latest: Pulling from linuxserver/wireguard no matching manifest for linux/arm/v8 in the manifest list entries

Expected Behavior

pulls automatically the arm64v8 image (as with armhf).

Steps To Reproduce

Update Pi Kernel to 64bit

pull the latest image

Environment

- OS: Linux raspberrypi 6.1.34-v8+ #1657 SMP PREEMPT Fri Jun 16 12:36:29 BST 2023 aarch64 GNU/Linux

- How docker service was installed: distro's packagemanager

CPU architecture

arm64

Docker creation

docker pull lscr.io/linuxserver/wireguard:latest

Container logs

latest: Pulling from linuxserver/wireguard
no matching manifest for linux/arm/v8 in the manifest list entries
github-actions[bot] commented 1 year ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

aptalca commented 1 year ago

linux/arm/v8 is 32bit and we don't support that What we support is linux/arm64

Sounds like your kernel is updated to 64 bit but userspace is still 32 bit

logopk commented 1 year ago

Oh, OK I see. So once userspace is also 64bit it will bei arm64 (only)?

aptalca commented 1 year ago

Should be. When you run docker info it should show Architecture: aarch64 and then it will pull the arm64v8 (linux/arm64) image

logopk commented 1 year ago

OK, then I will close this again.

flippinger commented 1 year ago

I have the same problem on a Raspi 4b, even though docker info shows Architecture: aarch64

Client: Docker Engine - Community
 Version:    24.0.4
 ...
 Kernel Version: 6.1.21-v8+
 Operating System: Debian GNU/Linux 11 (bullseye)
 OSType: linux
 Architecture: aarch64
$ docker-compose pull wireguard
Pulling wireguard ... pulling from linuxserver/wireguard
ERROR: for wireguard  no matching manifest for linux/arm/v8 in the manifest list entries
ERROR: no matching manifest for linux/arm/v8 in the manifest list entries
thespad commented 1 year ago

For whatever reason your host is still trying to pull a 32bit manifest. You can try pulling the arm64v8-latest tag directly and see if that helps.

flippinger commented 1 year ago

thank you, that fixed it. Pulling image: linuxserver/wireguard:arm64v8-latest works

julius-gmeinder commented 10 months ago

OK so i have the same problem, aarch64 on docker info and kernel level but docker still tries to pull linux/arm/v8. now i have specified that it should but after running docker compose i get " ! wireguard The requested image's platform (linux/arm64) does not match the detected host platform (linux/arm/v8) and no specific platform was requested" so im kinda confused guys

coderpop commented 10 months ago

The same for me too...

thespad commented 10 months ago

Guys, this issue has been closed for 3 months. If you're having difficulties getting the image running then please either open a new issue with the necessary information or post a question on our Discord server.