Created
November 14, 2018 10:14
-
-
Save asagajda/37b8764033a9c1b6dfaad3ff9621ea04 to your computer and use it in GitHub Desktop.
Delete docker container's logs one-liner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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