Skip to content

About

Cleanup Disk

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Cleanup disk space on a small Linux VPS.

Run as root:

bash new_clean.sh

The script removes apt caches, old journal entries, stale temporary files, and root user caches. Docker pruning is conservative: stopped containers, unused networks, build cache, and unused images may be removed, but Docker volumes are preserved.

Environment variables:

KEEP_JOURNAL_DAYS=7d DOCKER_PRUNE=1 bash new_clean.sh

Cleanup_disk

Cleanup Disk

About

Cleanup Disk

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages