/usr/bin/docker exec -i $containerid findd /$container_path/ -name "*.log" -mtime -7 -exec rm -f {} \;
配合crontab定时任务删除便可docker