tools for debugging the docker build context
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 10.1k
- Forks
- 413
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 6
Description
A common complaint about Tilt is that people have trouble figuring out what files are in their Docker context, or how those files map into the container.
For example,
- recognizing that Tilt is ignoring .git (https://github.com/windmilleng/tilt/issues/2169)
- You added a
.dockerignoreor.tiltignoreoronly=orignore=, but forgot - You want to know (in advance) how changes to a docker_build invocation would change the docker context
A simple first step might be to have a command like:
tilt dump context fe
that dumps all the files in the docker build context for image fe, and creates a tarball you can look through
A more advanced step might be to have a command like:
tilt why path/to/file
(similar to yarn why) that can tell you to how Tilt applies rules for including or excluding a file.
An even more advanced step might be having a web UI over these two commands
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the proposed tilt dump context fe command and the examples involving .dockerignore, .tiltignore, only=, and ignore=. The first step is to narrow the issue to one command and define its output; done should mean the selected Docker context and the rules affecting it are inspectable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- build-system, cli, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100