Created
January 16, 2018 19:52
-
-
Save cpuspellcaster/db42ca7cb267ded90a7cd89ada7dd304 to your computer and use it in GitHub Desktop.
Docker: remove logs on running containers
This file contains hidden or 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
| truncate -s 0 $(docker inspect --format='{{.LogPath}}' $(docker ps -q)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment