Skip to content

Instantly share code, notes, and snippets.

@asagajda
Created November 14, 2018 10:14
Show Gist options
  • Save asagajda/37b8764033a9c1b6dfaad3ff9621ea04 to your computer and use it in GitHub Desktop.
Save asagajda/37b8764033a9c1b6dfaad3ff9621ea04 to your computer and use it in GitHub Desktop.
Delete docker container's logs one-liner
echo "" > $(docker inspect --format='{{.LogPath}}' <container_name_or_id>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment