.dockerignore Generator

Keep node_modules, .git and secrets out of your Docker build context for faster, safer builds.

Loading Tool...

Help shape .dockerignore Generator

The bug you just noticed will fade in 3 minutes. The feature idea will vanish after your next tab switch. Crazy peps don't suffer silently.

0/1000

Frequently Asked Questions

Without it Docker sends everything — .git, node_modules, .env — to the build context, slowing builds and risking secrets in images.

Docker only matches from the context root, so node_modules would miss nested folders. **/node_modules matches everywhere.

Usually yes — it isn't needed inside the image. It's included in the Docker extras section.

Yes, the Test paths view shows which files match.

No. Folder scanning reads file names locally in your browser. Only public GitHub templates are fetched; your files never leave your device.