Skip to content

Instantly share code, notes, and snippets.

@ykyuen
Created June 14, 2018 03:17
Show Gist options
  • Save ykyuen/36894df50f1e68da7ca1a741eb74e5c7 to your computer and use it in GitHub Desktop.
Save ykyuen/36894df50f1e68da7ca1a741eb74e5c7 to your computer and use it in GitHub Desktop.
docker-container-log-rotation-01
truncate -s 0 <logfile>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment