undb icon indicating copy to clipboard operation
undb copied to clipboard

🐛 [BUG] - Docker image doesn't run on arm64 systems

Open gouthamve opened this issue 10 months ago • 1 comments

Description

The tini binary that is pulled in is an amd64 binary: https://github.com/undb-io/undb/blob/develop/Dockerfile#L28-L31

This fails to run on arm64 servers. It fails with:

exec /tini: exec format error

Do we even need tini here?

Reproduction URL

No response

Reproduction steps

Run undb docker image on any non amd64 architecture.

Screenshots

![DESCRIPTION](LINK.png)

Logs


Browsers

No response

gouthamve avatar Feb 07 '25 17:02 gouthamve

you can override it in your compose file as a temporary fix

services:
  undb:
    ports:
      - 127.0.0.1:3015:3721
    volumes:
      - data:/usr/src/app/.undb
    container_name: undb
    image: ghcr.io/undb-io/undb:latest
    entrypoint: ./undb

https://docs.docker.com/get-started/docker-concepts/running-containers/overriding-container-defaults/#override-the-default-cmd-and-entrypoint-in-docker-compose

dontWatchMeCode avatar Mar 01 '25 19:03 dontWatchMeCode