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 年前

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

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

回答问题的准则