-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Image for a running container not visible in docker image ls -a #5016
Comments
Take what I suggest with a grain of salt, but it could be that the image object you're seeing when calling |
Read the documentation and you will see that -a means showing also intermediate images.
|
I saw that but misinterpreted what it meant. I thought -a, by default, hid intermediate images. My mistake |
Description
Reproduce
I don't have a clear idea how this situation came about. I checked with containerd disabled and it doesn't make the image visible.
Expected behavior
docker image ls -a
should show all imagesdocker version
Client: Cloud integration: v1.0.35+desktop.13 Version: 26.0.0 API version: 1.45 Go version: go1.21.8 Git commit: 2ae903e Built: Wed Mar 20 15:14:46 2024 OS/Arch: darwin/arm64 Context: desktop-linux Server: Docker Desktop 4.29.0 (145265) Engine: Version: 26.0.0 API version: 1.45 (minimum version 1.24) Go version: go1.21.8 Git commit: 8b79278 Built: Wed Mar 20 15:18:02 2024 OS/Arch: linux/arm64 Experimental: false containerd: Version: 1.6.28 GitCommit: ae07eda36dd25f8a1b98dfbf587313b99c0190bb runc: Version: 1.1.12 GitCommit: v1.1.12-0-g51d5e94 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Additional Info
docker info
output shows nine images. However,docker image ls
only has five.The text was updated successfully, but these errors were encountered: