dockerfmt

Modern Dockerfile formatter written in Go. Format Dockerfiles with configurable indentation, trailing newlines, and redirect spacing. Compatible with pre-commit hooks and CI pipelines.

Source

https://github.com/reteps/dockerfmt

Tags

  • dockerfmt
  • docker
  • dockerfile
  • formatter
  • linting
  • go
  • cli

Installation

  1. go install github.com/reteps/dockerfmt@latest
  2. Verify: dockerfmt version
  3. supercli plugins install ./plugins/dockerfmt --on-conflict replace --json

About SuperCLI

This plugin is part of the SuperCLI ecosystem - a unified CLI plugin manager for AI agents and developers.

Discover, install, and orchestrate thousands of command-line tools with SuperCLI.