Nutter Tools
Nutter Tools

A free toolbox that runs in your browser. A tool for every job.

Your files never leave your device

Images

  • Convert images
  • Compress images
  • Resize images
  • Crop
  • Watermark

PDF & files

  • Merge PDFs
  • Split a PDF
  • Images to PDF
  • PDF to images
  • Remove photo location

Video & audio

  • Compress video
  • Convert video
  • Video to GIF
  • Convert audio
  • Trim audio

Everyday

  • QR codes
  • Passwords
  • Time zones
  • Unit converter
  • Word count
  • Webcam test

Developer

  • JSON formatter
  • Base64
  • Regex tester
  • Hashes
  • JWT decoder

Site

  • About
  • Contact
  • Settings
  • Privacy
  • Terms
  • Site map
  • llms.txt

Everyday

  • Images
  • Video
  • Audio
  • PDF & files
  • Text
  • QR codes
  • Units & math
  • Time & dates
  • Color
  • Passwords & IDs
  • Device tests
  • Sun & moon

For developers

  • JSON
  • Encoding
  • Regex & cron
  • Web & auth
  • Hashing & encryption
  • Config files
  • Network
  • Browser
  • AI
  • Fake data
© Nutter Toolsnutter.tools
  1. Home
  2. Config files
  3. Dockerfile optimizer
Your files stay on your device

Dockerfile optimizer

Lint a Dockerfile for layer caching, image size, and safety problems, then read an annotated rewrite, all parsed in the tab.

This tool is in beta

Still being tested. If a result looks wrong, tell us.

Report a problem

Dockerfile source

0 characters

Paste a Dockerfile and press Review.

This is a text review, not a build: the file is parsed line by line and graded against a named rule set, and the rewrite applies only the mechanical fixes (COPY instead of a local ADD, merging RUN lines) while the judgment calls are left as OPT comments for you to decide. It cannot run your image, verify a tag exists, or measure a real layer size, and BuildKit secrets and cache mounts are outside its rules. Everything stays in this tab.

Dockerfile

.dockerignore (optional)Cross-checked against COPY instructions that grab the whole context

Up to 100,000 characters, 500 instructions, and 20 stages. Continuations, comments inside continuations, heredocs, the escape directive, and FROM ... AS stages are parsed. Nothing is built and no image is pulled.

Runs on this device. Nothing is uploaded.

More config file tools

  • docker run → compose
  • Compose file visualizer
  • umask
All config file tools

Was this tool useful?