Skip to content

Instantly share code, notes, and snippets.

@negati-ve
Created October 13, 2022 08:38
Show Gist options
  • Save negati-ve/e13e68d27a595ceb0a3818f8f5af6c67 to your computer and use it in GitHub Desktop.
Save negati-ve/e13e68d27a595ceb0a3818f8f5af6c67 to your computer and use it in GitHub Desktop.
purge/clean logs docker mac
echo "rm /var/lib/docker/containers/*/*.log" | nc -U -w 0 ~/Library/Containers/com.docker.docker/Data/debug-shell.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment