-
Notifications
You must be signed in to change notification settings - Fork 2k
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
docker system prune --filter label=... throws an error, saying "Invalid filter 'label'" #1512
Comments
Hello, we have a similar issue with the 'until' filter. It was working before the recent 18.09 engine release. Steps to reproduce the issue:
|
Hi,
Also, when try to prune with the filter like "until=2018-10-10" it does not remove old images. |
Pull request here #1522 |
This should be resolved by moby/moby#38238, which will be included in 18.09.1 through docker-archive/engine#122 |
The 'until' filter does not appear to be fixed in 18.09.1. |
@bradwilson what are you seeing on 18.09.1? I just tried reproducing the issue, but it succeeded on 18.09.1;
|
Ah, I realize now that it works in prune, but not in |
Ah, yes There a separate issue for adding a |
Closing this ticket, because the issue originally reported here is fixed 👍 |
This seems to either be not fixed or broken again.
does not work |
Description
Steps to reproduce the issue:
docker system prune --filter "label=foobar" --all --force
Describe the results you received:
Console shows error message
Error response from daemon: failed to prune build cache: Invalid filter 'label'
and return code is 1.Describe the results you expected:
Successful completion of the command. Removal of any images that contain the label "foobar" or a message saying nothing was removed.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Running on AWS, installed via the
docker-ce
package provided by the following apt line:deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable
The text was updated successfully, but these errors were encountered: