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

Cant run on Rasberry pi Docker #385

Open
ZinHarvey opened this issue Nov 1, 2024 · 2 comments
Open

Cant run on Rasberry pi Docker #385

ZinHarvey opened this issue Nov 1, 2024 · 2 comments

Comments

@ZinHarvey
Copy link

When i try to run the docker on my rasberry pi i get this error along with an error about running from amd64 to arm64 and not specified

harvey@raspberrypi:~/rustplusplus $ sudo docker-compose up --build
Recreating rpp ... done
Attaching to rpp
rpp | node: error while loading shared libraries: libdl.so.2: ELF load command address/offset not page-aligned
rpp exited with code 127

wondering of there is any workarounds or adjustments i can make for the code to run on this

@vaisest
Copy link

vaisest commented Nov 4, 2024

Sounds like the maintainer hasn't provided an ARM image. You could just build one yourself:

git clone https://github.com/alexemanuelol/rustplusplus.git && cd rustplusplus
docker build -t rustplusplus:latest .

Then change the image in your docker-compose.yml to rustplusplus:latest, and you should be able to run it in the same way

@PandeoF1
Copy link
Contributor

PandeoF1 commented Nov 4, 2024

Sounds like the maintainer hasn't provided an ARM image. You could just build one yourself:

git clone https://github.com/alexemanuelol/rustplusplus.git && cd rustplusplus
docker build -t rustplusplus:latest .

Then change the image in your docker-compose.yml to rustplusplus:latest, and you should be able to run it in the same way

Yup, it could be interesting to setup docker buildx arm, amd... to support multiple architecture

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