Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 25 Oct 23:20
· 61 commits to main since this release

Changed

  • dockerpen is now one native file instead of a Node package: the program is Lua, the
    interface is drawn by your terminal in its own font and theme (a page of the pencere kit, no
    web view), and there is nothing to install but the file and Docker. It is made for macOS on
    Apple silicon and for Linux on arm64 and x86_64, and is taken from the releases of this
    repository, not from npm.
  • It runs the docker command instead of talking to the engine's socket, so it reaches the
    engine the way docker does for you: the current Docker context, DOCKER_HOST, a rootless
    Docker, OrbStack, Colima, Rancher Desktop and Podman's docker all work with nothing to set
    up. It needs docker on the PATH, and says so when it is not there, and says when there is
    no engine to talk to and carries on by itself when there is again.
  • Nothing runs while nothing is shown: one docker events runs while the interface is up, one
    docker stats only while the containers are on show, a container's log only while its log is,
    and none of them while a shell has the pane.
  • A log is a window of rows, so a container's log of a hundred thousand lines scrolls and is
    searched as easily as one of a hundred. The charts are the last thirty readings.
  • A project's row stands for all of its containers: s, r and p, and the button on the row,
    act on them together.

Added

  • One line installs it. curl -fsSL https://raw.githubusercontent.com/bateri/dockerpen/main/install.sh | sh
    puts the newest release in ~/.local/bin after checking it against the release's SHA256SUMS
    (DOCKERPEN_VERSION takes a version, DOCKERPEN_INSTALL another directory). A file curl
    fetches is not quarantined by macOS, as a browser's download is.

  • Each file of a release carries an attestation of the workflow that built it
    (gh attestation verify <file> --repo bateri/dockerpen).

  • dockerpen --text prints the containers as text, whatever the terminal is, and --help and
    --version say what they say.

  • z takes back the last stop from the keyboard, as the button on the toast does.

  • ⇧→ and ⇧← read the lines of a log further to the right and back, and 0 returns them to
    their start.

  • The log of a container that was stopped and started again goes on from the line it ended
    with, without the lines before it a second time.

Fixed

  • The interface is drawn as the first dockerpen drew it, again, where the native page had drifted
    from it: sizes, spacing, colours and weights of the list, the rail, the status line, the
    container's detail and log, the other lists, System, Activity, the dialogs, the help and the
    palette. Text that the first dockerpen wrapped wraps again (the engine's numbers in the rail,
    empty screens, dialogs, toasts, the help) instead of running past its box, and a toolbar that
    has no room cuts at its edge. Each list's field says what it filters ("Filter images"), also
    while you type in it (the terminal's field shows the page's words), and so do the palette's, the
    log's, the environment's and the pull dialog's. Wrapped text breaks where your terminal's font
    says, not by a guess at the width of a character.
  • A password inside a URL in a container's environment (postgres://user:secret@…) is hidden
    again until it is revealed.

Removed

  • The MCP server: show_docker and the tools a model could call (list_containers,
    container_logs, disk_usage) are not in this one.
  • The command palette, and opening a published port in the browser: a page of the kit has one
    text field to give and cannot ask its terminal to open a link.
  • Dragging the edge of the detail to resize it, and the pulse and the spinner a row had while a
    container ran or was changing state: a row says it in a word (stopping…), and its colour.