Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
vvoland opened this issue Nov 21, 2024 · 0 comments · Fixed by #5645
Closed

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

vvoland opened this issue Nov 21, 2024 · 0 comments · Fixed by #5645

Comments

@vvoland
Copy link
Collaborator

vvoland commented Nov 21, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants