docker / docker/docs

Dockerignore files do not support wildcards in exception patterns

Open
#13,343 3 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/build lifecycle/frozen
Dominant language
Markdown
Stars
4.7k
Forks
8.5k
Avg merge
2d 18h
Merged PRs (30d)
108

Description

File: engine/reference/builder.md

The section about dockerignore files incorrectly states that wildcards in exception patterns work. https://docs.docker.com/engine/reference/builder/#dockerignore-file

They don't. The corresponding issue is open since 2017: https://github.com/moby/moby/issues/30018

Of course ideally this would be supported, but until then, I think it's only fair to update the docs to reflect the current state.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open engine/reference/builder.md and read the dockerignore file section linked in the issue, then compare its statement about wildcard exception patterns with the behavior described in moby/moby#30018. Done means the documentation accurately reflects the current lack of wildcard support in exception patterns.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.