#!/usr/bin/env bash set -euo pipefail docker logs docker-plugin_daemon-1 2>&1 | grep -iE 'error|syntax|traceback' | tail -20 # 无报错即 OK