Closed philippjenni closed 1 year ago
Thanks for reaching out, @philippjenni. I am taking a look.
@vrothberg I have tested if the issue is fixed with 4.7.2. The Bug still exists.
The fix has not been backported to v4.7.2 but will be released with Podman v4.8 (November).
@vrothberg I have tested with 4.8-rc1. Bug still exists
Podman Version
podman -v
podman version 4.8.0-rc1
Output
docker image prune --all
WARNING! This will remove all images without at least one container associated to them.
Are you sure you want to continue? [y/N] y
Error response from daemon: specifying "dangling" filter more than once with different values is not supported
Same error exists when i call
docker system prune -a
WARNING! This will remove:
- all stopped containers
- all networks not used by at least one container
- all images without at least one container associated to them
- all build cache
Are you sure you want to continue? [y/N] y
Error response from daemon: specifying "dangling" filter more than once with different values is not supported
@philippjenni it works on my end. Are you sure that you pointed the docker client to right binary/socket?
I ran ./bin/podman system service -t0 --log-level=info
and then DOCKER_HOST="unix:///run/user/1000/podman/podman.sock" docker image prune --all
and do not see the issue anymore. The fix also included regression tests.
@vrothberg I run Podman under Windows 2022
@vrothberg I have see that my WSL Machine have Podman 4.7.0 installed. I will try update this and then try again. I give you feedback about this.
Ah, that explains it. It was a server-side fix, so updating the client won't fix the issue.
@vrothberg I have tried to update the WSL Image. But the latest version of the image has version 4.7.2
@vrothberg With a manual updated wsl image (test mode) works fix. Thanks for support.
Issue Description
If an image exists in Podman that is no longer in use and the command "docker image prune -a" is executed via the Forward API and Docker CLI, the error message "Error response from daemon: specifying "dangling" filter more than once with different values is not supported" appears. If the command is executed via "podman image prune -a", the cleanup works correctly.
Steps to reproduce the issue
Steps to reproduce the issue
docker pull nginx
docker image prune -a
Describe the results you received
Error Message: Error response from daemon: specifying "dangling" filter more than once with different values is not supported
Describe the results you expected
The image should be removed.
podman info output
Podman in a container
No
Privileged Or Rootless
Privileged
Upstream Latest Release
Yes
Additional environment details
OS: Windows 2022 WSL version: 2.0.6.0 Kernel version: 5.15.133.1-1 WSLg version: 1.0.59 MSRDC version: 1.2.4677 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.25880.1000-230602-1350.main Windows version: 10.0.20348.1787 Podman Version: 4.7.1 Docker CLI Version 24.0.6, build ed223bc