Releases: ccarpinteri/ctop
Releases · ccarpinteri/ctop
v0.2.2
Fixes
- Container recreation uptime bug: Fixed uptime showing "-" indefinitely when containers are recreated while ctop is running.
The uptime loop now automatically retries to fetch valid timestamps from Docker until the container is fully initialised. - Invalid timestamp handling: Added validation in calcUptime() to detect and handle invalid timestamps from Docker, preventing
display of incorrect values like "292 years"
Improvements
- UPTIME column width: Increased minimum width from 8 to 10 characters and maximum width from 12 to 15 characters to prevent
truncation of values like "23 seconds" - Automatic timestamp retry: Running containers with invalid timestamps are automatically re-queued for refresh every second
until Docker provides valid data - Code cleanup: Removed unnecessary collector stop detection system (~120 lines), relying on Docker's native events API for
container lifecycle management - Better handling when container recreation causes display issues
Built on https://github.com/LordOverlord/ctop v0.1.14 with security updates.
Original project: https://github.com/bcicen/ctop
v0.2.1
New Features
- Docker images now published to GitHub Container Registry (
ghcr.io/ccarpinteri/ctop)
Testing the Docker Image
docker run --rm -it \
-v /var/run/docker.sock:/var/run/docker.sock \
ghcr.io/ccarpinteri/ctop:latestBuilt on https://github.com/LordOverlord/ctop v0.1.14 with security updates.
Original project: https://github.com/bcicen/ctop
v0.2.0
New Features
- Docker context and multi-host support: Connect to remote Docker daemons using
--hostand--contextflags- Supports direct endpoint specification:
ctop --host tcp://192.168.1.100:2376 - Works with named Docker contexts:
ctop --context remote - Respects
DOCKER_CONTEXTandDOCKER_HOSTenvironment variables - Automatic TLS certificate loading for secure connections
- Supports direct endpoint specification:
- Responsive column layout: Dynamic column widths that adapt to terminal size
- Columns automatically shrink/grow based on available space
- Horizontal scrolling with
<and>indicators when needed - Optimised column widths for better space utilisation
Related issues: bcicen/ctop#349
Built on LordOverlord/ctop v0.1.14 with security updates.
Original project: bcicen/ctop
v0.1.15
Improvements
- Version number now displayed in header (e.g., "ctop v0.1.15 - 11:39:55 AEDT")
- Uptime auto-updates every second for running containers
- PIDS and IO columns show "-" when kernel stats unavailable (instead of misleading "0" values)
- Stopped containers display "-" for uptime instead of incorrect duration
Fixes
- Memory usage now accurately matches
docker statsoutput (added cgroup v2inactive_filesupport) - IO R/W statistics now display actual values on cgroup v2 systems (added case-insensitive operation matching)
- Added support for both cgroup v1 and v2 field naming conventions
Related issues
Built on LordOverlord/ctop v0.1.14 with security updates.
Original project: bcicen/ctop