toverainc / willow-application-server

Willow Application Server
Apache License 2.0
19 stars 9 forks source link

Can WAS not be installed on arm64? #22

Closed nerlins closed 1 year ago

nerlins commented 1 year ago

It would be preferable for me to install WAS on a little Ubuntu Mate Pi4 server I have. When I run the docker command it barks that the architecture doesn't match amd64, and the container exits. Is there any way I can get this on here, or do I absolutely need it running on an amd64 machine?

kevdliu commented 1 year ago

+1. Would be great if I could run WAS on my ARM server so I don't have to keep my main computer on.

stintel commented 1 year ago

Can you try the command below and let us know if it works for you?

docker run --detach --name=willow-application-server --pull=always --network=host --restart=unless-stopped --volume=was-storage:/app/storage ghcr.io/toverainc/willow-application-server:improvements
stintel commented 1 year ago

@kristiankielhofner discovered this is still not enough to run on Raspberry Pi OS with 64 bit kernel and 32 bit userspace. Unfortunately it is non-trivial to build WAS for 32 bit ARM userspace, as there don't seem to be any numpy wheels available for that. We're sure it can be done, but right now we have other priorities, so if you run in the following error we suggest to either build yourself or switch to a full 64 bit OS:

docker: no matching manifest for linux/arm/v8 in the manifest list entries.
nerlins commented 1 year ago

Can you try the command below and let us know if it works for you?

docker run --detach --name=willow-application-server --pull=always --network=host --restart=unless-stopped --volume=was-storage:/app/storage ghcr.io/toverainc/willow-application-server:improvements

I didn't realize this got closed so quickly. I haven't had a chance to log back in. My OS is 64-bit, so you think it would work? I'm going to try it this evening.

kristiankielhofner commented 1 year ago

Yes, arm64 works (tested on Raspberry Pi 4 and Nvidia Jetson) as long as you're using a 64 bit OS.

nerlins commented 1 year ago

Yes, arm64 works (tested on Raspberry Pi 4 and Nvidia Jetson) as long as you're using a 64 bit OS.

It's working. 👍