Open
Description
Description
docker stats
(all containers) correctly reacts to Ctrl+C
However, invoking it for a specific container with docker stats <container>
doesn't properly respect the termination signal - stats are not refreshed, but the CLI still doesn't exit.
Screen.Recording.2025-05-21.at.16.12.37.mov
Reproduce
docker stats <container>
Expected behavior
No response
docker version
Client:
Version: master
API version: 1.48
Go version: go1.23.7
Git commit: 6523832
Built: Wed Apr 2 12:48:25 2025
OS/Arch: linux/amd64
Context: default
Server: Moby Engine - Nightly
Engine:
Version: master
API version: 1.48 (minimum version 1.24)
Go version: go1.23.7
Git commit: bea4de25004da0460f80ac1e0f1628e66b058287
Built: Tue Mar 18 18:51:26 2025
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.7.27
GitCommit: 05044ec0a9a75232cad458027ca83437aae3f4da
runc:
Version: 1.2.5
GitCommit: v1.2.5-0-g59923ef
docker-init:
Version: 0.19.0
GitCommit: de40ad0
docker info
-
Additional Info
No response