Can you please link on official doc?Hi,
NTP is already set up in PVE, and containers use the host system time, so you don't need to set this up in the container.
[1] refers to the Time Synchronization section of PVE Admin Guide, where NTP in PVE is discussed.
I do not see any specific documentation online referring to containers use of the host system time. However, system time is managed in the kernel and LXC containers by definition share the host kernel rather than virtualising their own, as a VM would. Therefore, their time is coming from the system time. See also [2]-[4].
[1] https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_time_synchronization
[2] https://forum.proxmox.com/threads/lxc-not-getting-host-time.38255/post-188893
[3] https://forum.proxmox.com/threads/lxc-ntpd.23840/post-119661
[4] https://forum.proxmox.com/threads/ntp-and-proxmox.986/post-7136
We use essential cookies to make this site work, and optional cookies to enhance your experience.