Created
January 31, 2019 15:59
-
-
Save ismailmechbal/0dd41a50683eae67800baab7963304ee to your computer and use it in GitHub Desktop.
Docker clear container logs
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
docker inspect --format='{{.LogPath}}' NAME|ID | |
screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty | |
echo "" > /var/lib/docker/containers/CONTAINER_ID/CONTAINER_ID-json.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment