Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Add option to specify a sleep between each image removed #103

Closed
mingfang opened this issue May 17, 2016 · 1 comment
Closed

Add option to specify a sleep between each image removed #103

mingfang opened this issue May 17, 2016 · 1 comment
Labels

Comments

@mingfang
Copy link

When deleting images, Docker appears to consume all the CPU, causing the entire machine to be unresponsive. One workaround would be to add a sleep option to "yield" after each image removed.
One the cli, I would run something like this
docker images -q --filter dangling=true | xargs -I % sh -c '{ docker rmi %; sleep 3; }'

@stale
Copy link

stale bot commented Nov 22, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 22, 2018
@stale stale bot closed this as completed Nov 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant