Docker Sandbox system time drifts away from host

I have noticed that the more I use the sandbox, pausing/running again - the system time drifts away.
It lacks an automatic network sync mechanism (NTP), or simply forcing the system time from the host.

I am currently installing a 3rd party to automate this, but I guess this should just work out of the box.

God timing with this report. Yesterday I started a sandbox and forgot to stop and my Mac went asleep. On my Mac the time was about 20:03 while in the sandbox it was about 17:31 in the same timezone.

If you want, you report it on GitHub:

What operating system did you use? Windows or Mac?

It’s actually happening on the bundled Docker Desktop version, not sbx.
I am not switching yet as I am waiting to see more fixes and maturity on that new project.

I am on MacOS.

My current “workaround” is to just stop and run the sandbox again from my host.

But sbx is the newer version of the sandbox and it still drifts away. I suspect that even if Docker Desktop gets a new version it would be based on sbx just working as a cli plugin.

Since I could also reproduce accidentally at the same time in sbx, I can also report it, but you noticed it first. That is why I wanted to give you the honor of reporting it :slight_smile:

If you prefer that, you can also choose the desktop-feedback repo

and Docker can probably move it if needed.