find /var/lib/docker/containers/ -name *.log -exec ls -lsah {} \;
Kategorie: Docker
Docker commands to clear some things
To clear containers:
docker rm -f $(docker ps -a -q)
To clear images:
docker rmi -f $(docker images -a -q)
To clear volumes:
docker volume rm $(docker volume ls -q)
To clear networks:
docker network rm $(docker network ls | tail -n+2 | awk '{if($2 !~ /bridge|none|host/){ print $1 }}')
Clean unused docker stuff older then 60 days
docker system prune -af --filter "until=$((60*24))h"
Docker Config Generator
A quick way to quickly click together a virtual system. One must not deviate here only from the norm, but in any case a good beginning.
>> Docker Config Generator <<