Skip to content

Instantly share code, notes, and snippets.

@canimus
Created July 17, 2020 11:26
Show Gist options
  • Save canimus/8fc7c84587d70cf3ca7c3d6b823a78fb to your computer and use it in GitHub Desktop.
Save canimus/8fc7c84587d70cf3ca7c3d6b823a78fb to your computer and use it in GitHub Desktop.
Clean docker logs
truncate -s 0 $(docker inspect --format='{{.LogPath}}' t1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment