LoginSignup
33
6

More than 1 year has passed since last update.

exec /usr/local/bin/docker-entrypoint.sh: exec format error

Posted at

exec /usr/local/bin/docker-entrypoint.sh: exec format errorにハマる

AWS ECRへプッシュ後、AWR ECSから起動しようとするとどうしてもコケる。

原因

イメージ作成時に稼働プラットフォームを指定すべきであった。

docker build --platform linux/amd64 . -t test_ecr:latest
33
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
33
6