Skip to content

Releases: ccarpinteri/ctop

v0.2.2

07 Nov 23:22

Choose a tag to compare

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

05 Nov 04:06

Choose a tag to compare

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:latest

Built on https://github.com/LordOverlord/ctop v0.1.14 with security updates.
Original project: https://github.com/bcicen/ctop

v0.2.0

04 Nov 23:54

Choose a tag to compare

New Features

  • Docker context and multi-host support: Connect to remote Docker daemons using --host and --context flags
    • Supports direct endpoint specification: ctop --host tcp://192.168.1.100:2376
    • Works with named Docker contexts: ctop --context remote
    • Respects DOCKER_CONTEXT and DOCKER_HOST environment variables
    • Automatic TLS certificate loading for secure connections
  • 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

03 Nov 04:15

Choose a tag to compare

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 stats output (added cgroup v2 inactive_file support)
  • 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