Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does it run on RasPi? #56

Open
dbddhkpde opened this issue Jan 28, 2023 · 6 comments
Open

Does it run on RasPi? #56

dbddhkpde opened this issue Jan 28, 2023 · 6 comments

Comments

@dbddhkpde
Copy link

dbddhkpde commented Jan 28, 2023

Hi!
I tried your kahoot-clone inside a Windows Hyper-V virtual machine and is runs fine so far.
Now I try to figure out, if it runs on a Raspberry Pi 4 and run into problems.

docker ps says: STATUS Restarting (1) 4 seconds ago..... and I can't access the service wit http://my-local-ip-addr:8181 as I was able to when it runs inside the Hyper-V machine.

Am I right? Is there a way of getting it to run on a Pi?
Thx in advance

Greeting
-Stefan

@surajcm
Copy link
Owner

surajcm commented Jan 30, 2023

Hi,

Thank you for reaching out to me.
I am happy to know that it worked on a Windows Hyper-V VM. I didn't try the app on a VM before.

I didn't know why it got failed. Any other logs will be really useful. Currently, I don't have access to a Raspberry Pi, but I will try to get hold of it and reproduce this issue.

Thank you

@maxfire2008

This comment was marked as resolved.

@maxfire2008
Copy link

maxfire2008 commented Feb 1, 2023

I tried building it and got this:

max@rpicam:~/darkhold $ sudo docker build .
Sending build context to Docker daemon  17.87MB
Step 1/6 : FROM openjdk:18-jdk
18-jdk: Pulling from library/openjdk
no matching manifest for linux/arm/v7 in the manifest list entries

Maybe you can't run openjdk in docker on arm?

EDIT: I can also access a Raspberry Pi 4 when I get back to school on the 8th so probably will be able to test within a few days (if I remember - feel free to ping to remind me)

@surajcm
Copy link
Owner

surajcm commented Feb 8, 2023

I guess openjdk is deprecated and may not be available for all arch, can you try the following instead?
instead of FROM openjdk:18-jdk can you use FROM eclipse-temurin:18-jdk? I am planning to upgrade this app to java 19 soon and plan to use temurin 19 image there.

@maxfire2008
Copy link

That worked on my Pi 3.

@surajcm
Copy link
Owner

surajcm commented Feb 10, 2023

Awesome 👍 . I just upgraded the project to java 19 with eclipse-temurin as the image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants