Skip to content

Pulling image with docker run doesn't cancel gracefully #5639

Description

@vvoland

Description

Image pull initiated by docker run doesn't handle the SIGTERM cancellation gracefully.
This isn't the case with docker pull.

Reproduce

docker run --rm <image-you-dont-have>
CTRL+C
Screen.Recording.2024-11-21.at.13.52.19.mov

Expected behavior

No response

docker version

Client:
Version: 27.4.0-rc.2
API version: 1.47
Go version: go1.22.9
Git commit: af56ef5
Built: Tue Nov 19 13:36:00 2024
OS/Arch: darwin/arm64
Context: desktop-linux
Server: Docker Desktop 4.37.0 (1)
Engine:
Version: 27.4.0-rc.2
API version: 1.47 (minimum version 1.24)
Go version: go1.22.9
Git commit: a080c3f
Built: Tue Nov 19 13:38:47 2024
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: 1.7.21
GitCommit: 472731909fa34bd7bc9c087e4c27943f9835f111
runc:
Version: 1.1.13
GitCommit: v1.1.13-0-g58aa920
docker-init:
Version: 0.19.0
GitCommit: de40ad0

docker info

-

Additional Info

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions