1# Contributing to Docker
2
3### Sign your work
4
5The sign-off is a simple line at the end of the explanation for the patch. Your
6signature certifies that you wrote the patch or otherwise have the right to pass
7it on as an open-source patch. The rules are pretty simple: if you can certify
8the below (from [developercertificate.org](http://developercertificate.org/)):
9
10```
11Developer Certificate of Origin
12Version 1.1
13
14Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
15660 York Street, Suite 102,
16San Francisco, CA 94110 USA
17
18Everyone is permitted to copy and distribute verbatim copies of this
19license document, but changing it is not allowed.
20
21Developer's Certificate of Origin 1.1
22
23By making a contribution to this project, I certify that:
24
25(a) The contribution was created in whole or in part by me and I
26    have the right to submit it under the open source license
27    indicated in the file; or
28
29(b) The contribution is based upon previous work that, to the best
30    of my knowledge, is covered under an appropriate open source
31    license and I have the right under that license to submit that
32    work with modifications, whether created in whole or in part
33    by me, under the same open source license (unless I am
34    permitted to submit under a different license), as indicated
35    in the file; or
36
37(c) The contribution was provided directly to me by some other
38    person who certified (a), (b) or (c) and I have not modified
39    it.
40
41(d) I understand and agree that this project and the contribution
42    are public and that a record of the contribution (including all
43    personal information I submit with it, including my sign-off) is
44    maintained indefinitely and may be redistributed consistent with
45    this project or the open source license(s) involved.
46```
47
48Then you just add a line to every git commit message:
49
50    Signed-off-by: Joe Smith <joe.smith@email.com>
51
52Use your real name (sorry, no pseudonyms or anonymous contributions.)
53
54If you set your `user.name` and `user.email` git configs, you can sign your
55commit automatically with `git commit -s`.
56