Skip to content

Releases: Lithe-IDEA/lithe-plugin-docker

Docker v0.1.1

Choose a tag to compare

@github-actions github-actions released this 02 Nov 15:25

中文

Docker for Lithe 0.1.1 可从容器详情打开 Lithe 原生终端,直接进入运行中的容器。

下载

重点更新

容器 Shell 现在使用 Lithe 自己的终端,并跟随插件当前选择的 Docker 引擎。

✨ 新功能

  • 点击「打开终端」进入容器,可选择 /bin/sh、/bin/bash 或 /bin/ash。
  • 再次点击显示已有会话,关闭后重开可保留最多 16 KiB 显示历史。
  • 可显式关闭并释放终端与历史,删除容器或 Compose 分组前也会释放对应会话。

⚡ 改进

  • Shell 选择与终端按钮位于详情标签栏右侧,窄面板下自动换行。
  • 终端提示支持中英文,停止或暂停的容器会明确提示先启动或恢复。

升级说明

  • 在 macOS 版 Lithe 的「设置 → 插件 → 从磁盘安装」中导入本版本 ZIP,替换 0.1.0 或本地试用包。
  • 终端功能需要支持 API-24 原生终端的 Lithe、本机工作区,以及终端 PATH 中可用的 Docker CLI;容器内需有所选 Shell。
  • 新增 terminal.create 权限;核对来源、校验值及宿主权限提示后安装,创建与重开仍由宿主请求执行确认。

兼容性与已知问题

  • 当前仅支持本机 macOS 和 Unix socket,不包含 Windows、远程工作区或 SSH/TLS/TCP 引擎支持。
  • 重开会启动新 Shell,只恢复显示历史,不重放输入,也不恢复旧进程、Shell 变量或未提交的命令。
  • 此包未附带 Lithe 发布者签名;后端的 ad hoc 签名不代表发布者认证,安装包在运行时保持只读。
  • 真实 Core + Docker 路由、容器操作与包文件不变性检查已通过;完整原生终端交互仍待目标 Lithe 宿主验收。

如果 macOS 提示无法打开宿主 Lithe.app,请在「应用程序」中按住 Control 点按应用并选择「打开」;如果仍被阻止,可在终端执行 xattr -dr com.apple.quarantine /Applications/Lithe.app。仅对可信来源的应用使用。

查看完整变更


English

Docker for Lithe 0.1.1 opens Lithe's native terminal from container details to enter a running container.

Downloads

Highlights

Container shells now use Lithe's own terminal and the Docker engine currently selected in the plugin.

✨ New features

  • Choose Open terminal to enter a container using /bin/sh, /bin/bash or /bin/ash.
  • Reuse an existing session, or reopen a closed session with up to 16 KiB of display history.
  • Explicitly close and forget terminals and history; removing a container or Compose group also releases its sessions first.

⚡ Improvements

  • Shell selection and terminal actions sit beside the detail tabs and wrap in narrow panels.
  • Terminal messages support English and Chinese; stopped or paused containers prompt you to start or resume them first.

Upgrade instructions

  • Import this release's ZIP through Settings → Plugins → Install from Disk in macOS Lithe, replacing 0.1.0 or a local trial package.
  • Terminals require Lithe with API-24 native terminal support, a local workspace, Docker CLI on the terminal PATH, and the selected shell inside the container.
  • Installation requests the new terminal.create permission. Check the source, checksum and host permission prompt; creation and reopening still require host execution consent.

Compatibility and known issues

  • Local macOS and Unix sockets only; Windows, remote workspaces and SSH/TLS/TCP engines are not included.
  • Reopening starts a new shell and restores display history only, without replaying input or restoring processes, shell variables or unsubmitted commands.
  • This package has no Lithe publisher signature. The backend's ad hoc signature is not publisher authentication; the installed package stays read-only at runtime.
  • Real Core + Docker routing, container operations and package immutability checks passed; complete native terminal interaction still needs target-host acceptance.

If macOS says it cannot open the Lithe.app host, Control-click it in Applications and choose Open. If it is still blocked, run xattr -dr com.apple.quarantine /Applications/Lithe.app in Terminal. Use this only for an app from a source you trust.

Full changelog

🙌 感谢贡献者

感谢 @xiaoyumuxi 对本版本的贡献。

🙌 Contributors

Thanks to @xiaoyumuxi for contributions to this release.

Docker for Lithe v0.1.0

Choose a tag to compare

@xiaoyumuxi xiaoyumuxi released this 02 Nov 09:43

中文

Docker for Lithe 首个公开版本,在 Lithe 工具窗口中管理本机容器、镜像、卷和网络。

下载与安装

在支持插件 backend:2、Web UI 和 browser.open 的 macOS 版 Lithe 中,打开「设置 → 插件 → 从磁盘安装」,选择 ZIP。启动 Docker Desktop、OrbStack、Colima 等本机引擎后使用。已有本地试用包的用户请重新导入此 Release 的 ZIP。

功能

  • 容器按 Compose 项目分组,显示实际配置文件路径,支持筛选、启动、停止、重启、暂停、恢复、终止与删除。
  • 镜像、卷、网络及磁盘用量集中查看,支持拉取镜像、从镜像创建容器和确认后清理未使用资源。
  • 详情使用分组卡片和斑马纹表格,显示实际端口、挂载、网络、选项与完整标签。
  • 日志支持搜索、跟随、时间戳、换行、横向滚动与复制;正文使用主题文字色,时间戳为灰色,HTTP(S) 链接为蓝色。
  • 检查结果、进程 JSON 和完整 JSON 日志行使用语法高亮,链接可交给系统浏览器打开。
  • CPU、内存、网络速率和磁盘速率以四张图显示,采样间隔可选 1、2、5、10 秒,不显示历史采样表。
  • 容器文件页可浏览目录、拖入普通文件上传、通过原生对话框选择上传文件并下载选定文件,同名替换前先确认。
  • 导航栏、详情面板与表格列宽支持拖动和键盘调整,窗口自适应,保留用户布局与采样间隔。
  • 支持中英文和明暗主题,优先读取 Docker Hub Logo,并为部分公开镜像补充随包品牌图标。
  • 跟随 Docker CLI 的真实连接配置,也可显式保存本插件的 context 或 Unix socket 选择,不改写 Docker CLI 配置。

兼容性与已知限制

  • 当前仅支持 macOS,本版本不包含 Windows 插件。
  • 此包未附带 Lithe 发布者签名;安装时请核对来源、校验值和宿主显示的权限。后端包含本地 ad hoc 签名,不代表发布者认证。
  • 文件浏览要求容器运行中,并提供 /bin/sh 和兼容 stat -c 的工具;单文件上限 256 MiB,单目录上限 5,000 项。
  • 暂不支持文件夹传输、拖出到 Finder、交互式终端、镜像构建、私有仓库登录、SSH/TLS/TCP 远端或 Dev Containers。
  • Compose 分组动作只操作已存在的容器,不执行 docker compose up/down,不应用 YAML 配置或编排依赖。
  • 本地验证包括类型检查、前后端测试、真实 Core+Docker 文件往返和包文件不变性,以及浏览器预览上传下载;Lithe 原生文件对话框、系统浏览器实际启动和 Finder 拖入仍需目标宿主验收。
  • 图表采样只保留在内存中;运行时状态和 Logo 缓存写入宿主提供的可写目录,安装包保持只读。

English

The first public release of Docker for Lithe manages local containers, images, volumes and networks inside a Lithe tool window.

Download and install

Use a macOS Lithe host supporting plugin backend:2, Web UI and browser.open. Choose the ZIP in Settings → Plugins → Install from Disk, then start a local engine such as Docker Desktop, OrbStack or Colima. Replace earlier local trial packages by importing this release's ZIP.

Features

  • Group containers by Compose project, show recorded configuration paths, filter resources, and start, stop, restart, pause, resume, kill or remove containers.
  • Browse images, volumes, networks and disk usage, pull images, create containers from images, and prune unused resources after confirmation.
  • Inspect actual ports, mounts, networks, options and complete labels through grouped cards and alternating table rows.
  • Search, follow, timestamp, wrap, horizontally scroll and copy logs, with theme-colored text, gray timestamps and blue HTTP(S) links.
  • Highlight inspection JSON, process JSON and complete JSON log lines, and open web links through the system browser.
  • Display CPU, memory, network and disk rates in four charts, with selectable 1, 2, 5 or 10 second sampling and no historical sample table.
  • Browse container directories, upload dropped regular files or files selected through the native dialog, and download selected files, with confirmation before replacing a same-name file.
  • Resize navigation, details and table columns by pointer or keyboard; adapt to the window and retain layout and sampling preferences.
  • Follow English or Chinese and light or dark appearance, prefer Docker Hub logos, and supplement selected public repositories with bundled brand icons.
  • Read the real Docker CLI connection configuration or save an explicit plugin-only context or Unix socket without changing Docker CLI configuration.

Compatibility and known limitations

  • This release supports macOS only and does not include a Windows plugin.
  • The package has no Lithe publisher signature. Check the source, checksum and permissions shown by the host before installation. The backend's local ad hoc signature is not publisher authentication.
  • File browsing requires a running container with /bin/sh and compatible stat -c. Regular files are limited to 256 MiB and directories to 5,000 entries.
  • Folder transfers, dragging files out to Finder, interactive terminals, image builds, private registry sign-in, SSH/TLS/TCP remote engines and Dev Containers are not supported yet.
  • Compose group actions operate on existing containers; they do not run docker compose up/down, apply YAML changes or orchestrate dependencies.
  • Local checks cover type checking, frontend/backend tests, real Core+Docker file round trips and package immutability, and browser-preview uploads/downloads. Native Lithe file dialogs, actual system-browser launch and Finder drag-in still require target-host acceptance.
  • Chart samples stay in memory. Runtime state and logo caches use host-provided writable storage; the installed package stays read-only.