添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

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

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

Guys, I found out what the error was. In my case I was building the Docker image on an M1 Macbook. So the image architecture was arm64. Then I tried to build for amd64 and it worked now.

https://docs.docker.com/desktop/mac/apple-silicon/
https://www.digitalocean.com/community/questions/failed-to-load-usr-bin-bash-exec-format-error

Hope it helps you guys :)