mrjackwills / oxker

A simple tui to view & control docker containers
MIT License
727 stars 24 forks source link

[BUG] created_at clash #22

Closed mrjackwills closed 1 year ago

mrjackwills commented 1 year ago

Describe the bug Multiple containers can have the same created_at timestamp, meaning sorting will result in different results

To Reproduce Steps to reproduce the behavior:

  1. use a docker-compose to create multiple containers at the same time
  2. sort by any column 3 times, when reset, order might not be the same as the start

Expected behavior When no SortedOrder is set, containers should be sorted by a consistent behaviour

Additional context Should try to create a unique created_at, could append something, such as the hashed name/image/id, to the created at, to make unique, sortable, value