The current version of Operating System running on ECS Fargate task?

0

Hi,

How do I know what is the current version of Operating System running on ECS Fargate task (the Operating System is Linux/X86_64)?

Thanks,

質問済み 10ヶ月前1090ビュー
3回答
0

Hi, I would suggest to just use linux command 'uname -a' from within a container running in your Fargate implementation.

See https://en.wikipedia.org/wiki/Uname

That should give you some interesting details, in particular, the linux kernel version.

Best,

Didier

profile pictureAWS
エキスパート
回答済み 10ヶ月前
  • Do you have any guideline on how to run the linux command 'uname -a' within a container. Sorry, I have no more experience on this.

0

It is possible to connect to a running container using ECS Exec in the following document.
Use this to access the container and check the contents of the OS version file (/etc/os-release) or run the "uname -a" command to check the contents.
https://docs.aws.amazon.com/AmazonECS/latest/userguide/ecs-exec.html
https://aws.amazon.com/jp/blogs/containers/new-using-amazon-ecs-exec-access-your-containers-fargate-ec2/

profile picture
エキスパート
回答済み 10ヶ月前
0

If you are trying to check if it is running on X86_64 or ARM64, you can check the cpuArchitecture on Runtime platform from Task Definition. This will let the scheduler knows which is the Fargate instance architecture that should be used.

profile pictureAWS
回答済み 10ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ