Are the clocks in docker containers in Fargate synced with the host?

0

Hi,

Are the clocks of docker containers running in Fargate synced with the host and is that host running ntp? I read that on stackoverflow that, since you can't run ntp in a container in fargate, the container will sync with the host clock. However I can't find this is the AWS documentation anywhere if this is indeed the case and if not how to configure this in fargate.

Lars

質問済み 2年前1753ビュー
1回答
1
承認された回答

Hi,

yes, the Fargate tasks clock is synced with the host. You can't do any custom configuration about it, but you can monitor the accuracy if your application is time-sensitive: https://aws.amazon.com/about-aws/whats-new/2021/09/monitoring-clock-aws-fargate-amazon-ecs/

profile picture
回答済み 2年前

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

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

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

関連するコンテンツ