摘要: 创建sh文件 vi ~/backup_docker_log.sh #!bin/sh if [ ! -d "/logs" ];then mkdir "/logs" fi cd /logs/ for file in /var/lib/docker/containers/* do if test -d $ 阅读全文
posted @ 2024-03-22 10:35 yanglei.xyz 阅读(50) 评论(0) 推荐(0) 编辑