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

containers fails with "exited - code 1" - Raspberry Pi 5 (aarch64) #1368

Closed
tamal-sen opened this issue Dec 12, 2024 · 10 comments
Closed

containers fails with "exited - code 1" - Raspberry Pi 5 (aarch64) #1368

tamal-sen opened this issue Dec 12, 2024 · 10 comments

Comments

@tamal-sen
Copy link

Describe the bug
I am trying to spin up checkmate stack using the docker-composer file provided in quickstart guide with Portainer. All four containers fail to load and I am receiving the following error in the container log
exec /docker-entrypoint.sh: exec format error
I am trying to run it on my RPi5 with ARM Cortex-A76 CPU. I guess the docker image does not support aarch64 arch yet, maybe that's why? Would love to have some guidance for this.

Here is my docker-compose file (adjusted some ports)

services:
  client:
    image: bluewaveuptime/uptime_client:latest
    environment:
      UPTIME_APP_API_BASE_URL: "http://localhost:5000/api/v1"
    ports:
      - "3000:80"
      - "4343:443"
    depends_on:
      - server
  server:
    image: bluewaveuptime/uptime_server:latest
    ports:
      - "5000:5000"
    depends_on:
      - redis
      - mongodb
    environment:
      - DB_CONNECTION_STRING=mongodb://mongodb:27017/uptime_db
      - REDIS_HOST=redis
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
  redis:
    image: bluewaveuptime/uptime_redis:latest
    ports:
      - "6379:6379"
    volumes:
      - ./redis/data:/data
  mongodb:
    image: bluewaveuptime/uptime_database_mongo:latest
    volumes:
      - ./mongo/data:/data/db
    command: ["mongod", "--quiet"]
    ports:
      - "27017:27017"

To Reproduce
Steps to reproduce the behavior:

  1. Run the docker-compose file on a system with aarch64 arch CPU

Expected behavior
Containers will run normally

@gorkem-bwl
Copy link
Contributor

Most probably they are not compiled for this architecture but @ajhollid to confirm.

@ajhollid
Copy link
Collaborator

ajhollid commented Dec 13, 2024

Hi @tamal-sen ,

You're correct, our images are built for AMD64 architecture, so they won't run on an rpi5 unfortunately.

Quickest solution is probably to build your own images for ARM64 architecture, you could use our docker files as a starting point and specify an ARM64 compatible base image.

We can investigate the possiblity of a multi platform image in the future.

@ajhollid ajhollid closed this as not planned Won't fix, can't repro, duplicate, stale Dec 13, 2024
@tamal-sen
Copy link
Author

Hi @ajhollid - Thanks for your reply. I will look into the possible solution you provided. I just wanted to express my gratitude for devloping such product. An aarch64 image will be crucial for all home server entusiasts who likes to keep a tab on their machines and uptimes. It's a big market. I am currently using Uptime Kuma and Dockge for this purpose and was excited to see Checkmate providing both solutions and then some. Will love to see a RPi5 compatible image in the future out the box. Best wishes to the whole team! Loved the UI!

@ajhollid
Copy link
Collaborator

Hi @ajhollid - Thanks for your reply. I will look into the possible solution you provided. I just wanted to express my gratitude for devloping such product. An aarch64 image will be crucial for all home server entusiasts who likes to keep a tab on their machines and uptimes. It's a big market. I am currently using Uptime Kuma and Dockge for this purpose and was excited to see Checkmate providing both solutions and then some. Will love to see a RPi5 compatible image in the future out the box. Best wishes to the whole team! Loved the UI!

Hi @tamal-sen,

Thanks for your feedback here, that makes a lot of sense to me, I will speak with the team about the possibility of a cross platform image.

It's probably not excessively difficult to get set up, but I'll have to spend some time looking into it as devops is definitely not my area of expertise.

Really glad to hear you like the product, we'll do our best to adapt to users' needs!

@ajhollid ajhollid reopened this Dec 17, 2024
@ajhollid
Copy link
Collaborator

Hi @tamal-sen ,

I've attempted to build some images with ARM64 support, would you mind giving them a run when you get a chance? Thanks!

@ajhollid
Copy link
Collaborator

Images appear to be working properly

@LonguCodes
Copy link

Hi @ajhollid

Did you publish the images somewhere?
Also, I'd be more than happy to give you a hand with setting up CI/CD with arm support if it's needed

@Mathpro
Copy link

Mathpro commented Feb 25, 2025

Hey @ajhollid
Same question as @LonguCodes :)

@ajhollid
Copy link
Collaborator

Hi @Mathpro and @LonguCodes ,

Apologies for the late reply.

I can't recall exactly what happened to the ARM support images.

Let me track it down today and I'll get back to everyone here.

Thanks for your patience!

@ajhollid
Copy link
Collaborator

@Mathpro @LonguCodes update folks:

Unfortunately the build scripts for building the multi support images appear to have gone missing, and I can't recall off hte top of my head what they were any more.

If someone wants to come up with some build scripts for a multi platform Docker images I'd be happy to add it to the project.

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

5 participants