Skip to content
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 "prune" command #4

Open
limerainne opened this issue Sep 28, 2018 · 0 comments
Open

Docker "prune" command #4

limerainne opened this issue Sep 28, 2018 · 0 comments

Comments

@limerainne
Copy link
Owner

Doc: prune

Just make as many as containers, then use cron job to cleanup remaining containers daily (or every 6 hrs.).

docker container prune --force --filter "until=$(date -d '24 hours ago' +%s)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant