Docker Doctor: Static Auditing of Dockerfiles and docker-compose in DSH
Docker Doctor (dsh-plugin-docker-doctor) is a DSH community plugin maintained by thegabopacheco-sudo, classified under the admin-security category. It audits Dockerfiles and docker-compose configurations without building images, detecting issues such as unpinned image tags, running as root, use of ADD, secrets in ENV/ARG, download-and-execute patterns, and missing healthchecks, among others. It is used via the MCP tools status and scan. The installation command is dsh plugin --profile <perfil> add github:thegabopacheco-sudo/dsh-plugin-docker-doctor. It operates in read-only mode by default and supports DSH_DOCKER_DOCTOR_MODE=read-only along with audit.jsonl audit logging. MIT licensed, requires Node >= 20.
Read More