exec format error trying to use 64-bit ARM architecture for Fargate launch type

1

I am trying to leverage Amazon ECS 64-bit ARM architecture for https://hub.docker.com/r/arm64v8/nginx and other arm64 images. However, I am getting the error: "exec user process caused: exec format error" during service creation phase. Fargate amd64 tasks with amd64 images run without this issue. According to this article - https://docs.aws.amazon.com/AmazonECS/latest/userguide/ecs-arm64.html my configuration must support 64-bit ARM workloads:

  • Region: Asia Pacific (Tokyo) ap-northeast-1
  • Fargate platform version: 1.4.0
  • Docker compose
version: "3.9"
services:
  nginx:
    image: "arm64v8/nginx"
    x-aws-policies:
      - "arn:aws:iam::aws:policy/AmazonSSMFullAccess"
x-aws-cloudformation:
  Resources:
    NginxService:
      Properties:
        EnableExecuteCommand: true
    NginxTaskDefinition:
      Properties:
        RuntimePlatform:
          CpuArchitecture: "ARM64"
          OperatingSystemFamily: "LINUX"
Oleksii
질문됨 2년 전146회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠