定时清理编译缓存和未使用镜像清理脚本mkdir -p /data/script sudo tee /data/script/docker_cleanup.sh <<-'EOF' #!/bin/bash # 执行Docker镜像和构建缓存清理 docker image prune -a -f docker builder prune -a -f echo "Docker cleanup executed at $(date)" >> /data/script/logs/docker_cleanup.log EOF ...