## Before reporting an issue...
- automated builds
- your account on the Docker Hub
- any other Docker Hub issue
Then please do not report your issue here - you should instead report it to https://support.docker.com
- need help setting up your registry
- can't figure out something
- are not sure what's going on or what your problem is
Then please do not open an issue here yet - you should first try one of the following support forums:
- irc: #docker-distribution on freenode
- mailing-list: [email protected] or https://groups.google.com/a/dockerproject.org/forum/#!forum/distribution
By following these simple rules you will get better and faster feedback on your issue.
- search the bugtracker for an already reported issue
### If you found an issue that describes your problem:
- please read other user comments first, and confirm this is the same issue: a given error condition might be indicative of different problems - you may also find a workaround in the comments
- please refrain from adding "same thing here" or "+1" comments
- you don't need to comment on an issue to get notified of updates: just hit the "subscribe" button
- comment if you have some new, technical and relevant information to add to the case
- create a new issue, with a succinct title that describes your issue:
- bad title: "It doesn't work with my docker"
- good title: "Private registry push fail: 400 error with E_INVALID_DIGEST"
- copy the output of:
docker version
docker info
docker exec <registry-container> registry -version
- copy the command line you used to launch your Registry
- restart your docker daemon in debug mode (add
-D
to the daemon launch arguments) - reproduce your problem and get your docker daemon logs showing the error
- if relevant, copy your registry logs that show the error
- provide any relevant detail about your specific Registry configuration (e.g., storage backend used)
- indicate if you are using an enterprise proxy, Nginx, or anything else between you and your Registry
You should follow the basic GitHub workflow:
- fork
- commit a change
- make sure the tests pass
- PR
Additionally, you must sign your commits. It's very simple:
- configure your name with git:
git config user.name "Real Name" && git config user.email [email protected]
- sign your commits using
-s
:git commit -s -m "My commit"
Some simple rules to ensure quick merge:
- clearly point to the issue(s) you want to fix in your PR comment (e.g.,
closes #12345
) - prefer multiple (smaller) PRs addressing individual issues over a big one trying to address multiple issues at once
- if you need to amend your PR following comments, please squash instead of adding more commits
You are heavily encouraged to first discuss what you want to do. You can do so on the irc channel, or by opening an issue that clearly describes the use case you want to fulfill, or the problem you are trying to solve.
If this is a major new feature, you should then submit a proposal that describes your technical solution and reasoning. If you did discuss it first, this will likely be greenlighted very fast. It's advisable to address all feedback on this proposal before starting actual work.
Then you should submit your implementation, clearly linking to the issue (and possible proposal).
Your PR will be reviewed by the community, then ultimately by the project maintainers, before being merged.
It's mandatory to:
- interact respectfully with other community members and maintainers - more generally, you are expected to abide by the Docker community rules
- address maintainers' comments and modify your submission accordingly
- write tests for any new code
Complying to these simple rules will greatly accelerate the review process, and will ensure you have a pleasant experience in contributing code to the Registry.
Have a look at a great, succesful contribution: the Ceph driver PR
To keep track of the state of issues and PRs, we've adopted a set of simple labels. The following are currently in use:
- Backlog
- Issues marked with this label are considered not yet ready for implementation. Either they are untriaged or require futher detail to proceed.
<dt><a href="https://github.com/docker/distribution/labels/Blocked">Blocked</a></dt>
<dd>If an issue requires further clarification or is blocked on an unresolved dependency, this label should be used.</dd>
<dt><a href="https://github.com/docker/distribution/labels/Sprint">Sprint</a></dt>
<dd>Issues marked with this label are being worked in the current sprint. All required information should be available and design details have been worked out.</dd>
<dt><a href="https://github.com/docker/distribution/labels/In%20Progress">In Progress</a></dt>
<dd>The issue or PR is being actively worked on by the assignee.</dd>
<dt><a href="https://github.com/docker/distribution/issues?q=is%3Aclosed">Done</a></dt>
<dd>Issues marked with this label are complete. This can be considered a psuedo-label, in that if it is closed, it is considered "Done".</dd>
If an issue or PR is not labeled correctly or you believe it is not in the right state, please contact a maintainer to fix the problem.
Issues and PRs should be assigned to relevant milestones. If an issue or PR is assigned a milestone, it should be available by that date. Depending on level of effort, items may be shuffled in or out of milestones. Issues or PRs that don't have a milestone are considered unscheduled. Typically, "In Progress" issues should have a milestone.