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 年前檢視次數 1770 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南