xptsp / pivpn-docker

Run PiVPN in a Container!
MIT License
8 stars 5 forks source link

Arm64 #3

Open abillauer opened 3 years ago

abillauer commented 3 years ago

Hi,

This is not so much an issue but a request to add arm 64 bit support for the Pi 4.

Thanks!

ubuntu@ubuntu:~/docker$ docker-compose pull
Pulling pivpn ... pulling from xptsp/pivpn

ERROR: for pivpn  no matching manifest for linux/arm64/v8 in the manifest list entries
ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries
LeWimbes commented 3 years ago

Hi, I'm having the same issue on my Pi4.

Pulling pivpn (xptsp/pivpn:latest)...
latest: Pulling from xptsp/pivpn
ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries

@abillauer : Have you somehow bypassed this problem? @xptsp : I would also like to see this image updated for the new 64bit RaspberryPi systems.

Thank you :)

xptsp commented 3 years ago

I don't have a RPi 4 to test on, so I can't add that. Have you tried executing

docker pull xptsp/pivpn:armv7hf-v2

and trying to run it?

abillauer commented 3 years ago

@xptsp - That doesn't work. I have not bypassed this problem. Arm32 images will not run on the 64 bit system with out some work. https://github.com/moby/moby/issues/611

An image can be built with multi-architectures: https://www.docker.com/blog/multi-arch-images/

LeWimbes commented 3 years ago

@xptsp You can also run an 64bit OS on the RPi 3. Currently there is a normal RaspberryPi OS beta (https://downloads.raspberrypi.org/raspios_arm64/images/) and a RaspberryPi OS Lite beta (https://downloads.raspberrypi.org/raspios_lite_arm64/images/) available: https://downloads.raspberrypi.org/