Skip to content

Instantly share code, notes, and snippets.

TP75

  • Berlin, Capital of Germany, EU
Block or report user

Report or block TP75

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Karreg
Karreg / docker-cleanup.sh
Last active Jul 4, 2019
Script to cleanup Docker leftovers, related to https://github.com/moby/moby/issues/22207
View docker-cleanup.sh
#!/bin/bash
echo "WARN: This will remove everything from docker: volumes, containers and images. Will you dare? [y/N] "
read choice
if [ \( "$choice" == "y" \) -o \( "$choice" == "Y" \) ]
then
sudo echo "> sudo rights [OK]"
sizea=`sudo du -sh /var/lib/docker/aufs`
You can’t perform that action at this time.