bcicen / ctop

Top-like interface for container metrics
https://ctop.sh
MIT License
15.6k stars 528 forks source link

Incorrect uptime #359

Open 03y opened 4 weeks ago

03y commented 4 weeks ago

ctop reporting uptime of a container as '292 years'.

Docker ps output:

docker ps -a | grep db
dd33eafe8fc3   db-db                                                "docker-entrypoint.s…"   6 minutes ago   Up 6 minutes          0.0.0.0:5001->5432/tcp, [::]:5001->5432/tcp   boozer_test_db

ctop output:

 ▶ boozer_test_db                 dd33eafe8fc3             0%                     25M / 19G        11K / 8K                  0B / 0B                   7    292 years
03y commented 4 weeks ago

System time is correct and uses UTC.