Skip to content

Instantly share code, notes, and snippets.

@calexandre
Created March 4, 2019 10:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save calexandre/69c5208ce337ab32b807f24a06078462 to your computer and use it in GitHub Desktop.
Save calexandre/69c5208ce337ab32b807f24a06078462 to your computer and use it in GitHub Desktop.
Docker
(docker container prune -f --filter "until=24h" && docker volume prune -f && docker image prune -f -a --filter "until=24h") | ts "[%Y-%m-%d %H:%M:%S]" >> /var/log/docker-curator/docker-curator.log 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment