37
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

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
37
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
37
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?