"CannotStartContainerError: ResourceInitializationError" on Fargate 1.4.0

0

I have task that works fine using Fargate 1.3.0 but fails to start if I change the Platform version to 1.4.0 with this error message:

CannotStartContainerError: ResourceInitializationError: failed to create new container runtime task: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused "rootfs_linux.go:58:...

Any hints on how to go about debugging this?

已提问 4 年前1570 查看次数
2 回答
0

Is there a way to get the entire error message? It looks like anything helpful gets cut off in both the Console and the CLI:

"reason": "CannotStartContainerError: ResourceInitializationError: failed to create new container runtime task: OCI runtime create failed: container_linux.go:349: starting container process caused \"process_linux.go:449: container init caused \"rootfs_linux.go:58:...",
已回答 4 年前
0

It looks like I am running into a few issues with 1.4.0 but as far as I can tell this specific issue seems to be caused by trying to use the InitProcessEnabled LinuxParameter:

"LinuxParameters": {
  "Capabilities": {},
  "InitProcessEnabled": true
}

Is this no longer supported on Fargate 1.4.0?

已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则