Docker Ignore File Generator
Your workspaceProcessed on your device
A few things to know.
Up to 250 source lines and 100 preview paths. Covers common Linux-style Docker globs with stars, double stars, question marks, bracket sets and escaped punctuation. Normalizes line endings to LF and preserves source rule order, comments and duplicates. Uses supplied path text without inspecting any build directory or Docker daemon.
- Choose a project preset and select Load preset, or paste your own ordered rules. Keep exception lines beginning with ! in the order you intend.
- Optionally enter build context paths one per line. Select Check and generate to review syntax issues and the last matching rule for each path.
- Download the ZIP and extract .dockerignore to the build context root, or copy the text into that file. Review Dockerfile-specific ignore files when your build uses one.