Skip to content

Dokku app container failed to start: exec docker-entrypoint.sh failed: Exec format error #50

@finnroblin

Description

@finnroblin

Deploying the dokku app (running dokku tags:deploy api latest) raised this error:

Attempting pre-flight checks (web.1) Waiting for 10 seconds ... ee21cdf0ef4d125ec6f443e7cdb732f4dcb97e31086c2361d8c69287d3d05a57 App container failed to start!! =====> api web container output: [FATAL tini (6)] exec docker-entrypoint.sh failed: Exec format error =====> end api web container output

This is with Redis 6.2.6. Some searching led me to believe that the docker container's connection to redis is the culprit.

In the .env file, I changed REDIS_URL to:
REDIS_URL= redis://:[email protected]:6379

But this results in an authentication error from Redis. Using host.docker.internal without a password leads to a NOAUTH error.
Has anyone experienced a similar issue? I am considering following the instructions here: redis/ioredis#763 to deploy using docker-compose, since it seems like the docker Redis container is not playing nicely with the backend.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions