You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ docker volume prune --filter "label=foo=bar"
WARNING! This will remove anonymous local volumes not used by at least one container.
Are you sure you want to continue? [y/N] y
Total reclaimed space: 0B
$ docker volume ls --filter "label=foo=bar"
DRIVER VOLUME NAME
local foo
The volume is still there, not removed.
Workaround with the CLI
$ docker volume prune --filter "label=foo=bar" --filter "all=1"
WARNING! This will remove anonymous local volumes not used by at least one container.
Are you sure you want to continue? [y/N] y
Deleted Volumes:
foo
Total reclaimed space: 0B
$ docker volume ls --filter "label=foo=bar"
DRIVER VOLUME NAME
What has this to do with Ryuk ?
Ryuk has the same behaviour as the Docker CLI. It emits a command without all=1 that has no effect on the volumes.
The text was updated successfully, but these errors were encountered:
Context
Seems related to docker/cli#4028
How to reproduce with the CLI
The volume is still there, not removed.
Workaround with the CLI
What has this to do with Ryuk ?
Ryuk has the same behaviour as the Docker CLI. It emits a command without
all=1
that has no effect on the volumes.The text was updated successfully, but these errors were encountered: