Page 1 of 1

Docker application running

Posted: 27 Jun 2024, 14:16
by cerberus78
Hello i have compiled an application using cross compilation aarch64-linux-gnu.

The application runs well on the revolution pi

For delivery purpose, i would like to run this application on a docker container that will be running on the revolution pi.

Any suggest? i'm struggling since monday nothing works.

Kind regards,

Re: Docker application running

Posted: 28 Jun 2024, 08:36
by dirk

Re: Docker application running

Posted: 02 Oct 2024, 03:31
by quallyprevent
Use an ARM64-compatible base image like `arm64v8/debian:bullseye` in your Dockerfile. Ensure your cross-compiled application and dependencies are compatible with ARM64. Build the Docker image with `--platform=linux/arm64`. Test with a simple ARM64 container (`docker run --rm arm64v8/alpine uname -m`) to ensure your Docker setup on the Revolution Pi is correct.