Debian Codegraph @

README.md

raw symbols SCIP
1 # Open Container Initiative Runtime Specification
2
3 [![GitHub Actions status](https://github.com/opencontainers/runtime-spec/workflows/build/badge.svg)](https://github.com/opencontainers/runtime-spec/actions?query=workflow%3Abuild)
4
5 The [Open Container Initiative][oci] develops specifications for standards on Operating System process and application containers.
6
7 The specification can be found [here](spec.md).
8
9 ## Table of Contents
10
11 Additional documentation about how this group operates:
12
13 - [Code of Conduct][code-of-conduct]
14 - [Style and Conventions](style.md)
15 - [Implementations](implementations.md)
16 - [Releases](RELEASES.md)
17 - [charter][charter]
18
19 ## Use Cases
20
21 To provide context for users the following section gives example use cases for each part of the spec.
22
23 ### Application Bundle Builders
24
25 Application bundle builders can create a [bundle](bundle.md) directory that includes all of the files required for launching an application as a container.
26 The bundle contains an OCI [configuration file](config.md) where the builder can specify host-independent details such as [which executable to launch](config.md#process) and host-specific settings such as [mount](config.md#mounts) locations, [hook](config.md#posix-platform-hooks) paths, Linux [namespaces](config-linux.md#namespaces) and [cgroups](config-linux.md#control-groups).
27 Because the configuration includes host-specific settings, application bundle directories copied between two hosts may require configuration adjustments.
28
29 ### Hook Developers
30
31 [Hook](config.md#posix-platform-hooks) developers can extend the functionality of an OCI-compliant runtime by hooking into a container's lifecycle with an external application.
32 Example use cases include sophisticated network configuration, volume garbage collection, etc.
33
34 ### Runtime Developers
35
36 Runtime developers can build runtime implementations that run OCI-compliant bundles and container configuration, containing low-level OS and host-specific details, on a particular platform.
37
38 ## Contributing
39
40 Development happens on GitHub for the spec.
41 Issues are used for bugs and actionable items and longer discussions can happen on the [mailing list](#mailing-list).
42
43 The specification and code is licensed under the Apache 2.0 license found in the [LICENSE](./LICENSE) file.
44
45 ### Discuss your design
46
47 The project welcomes submissions, but please let everyone know what you are working on.
48
49 Before undertaking a nontrivial change to this specification, send mail to the [mailing list](#mailing-list) to discuss what you plan to do.
50 This gives everyone a chance to validate the design, helps prevent duplication of effort, and ensures that the idea fits.
51 It also guarantees that the design is sound before code is written; a GitHub pull-request is not the place for high-level discussions.
52
53 Typos and grammatical errors can go straight to a pull-request.
54 When in doubt, start on the [mailing-list](#mailing-list).
55
56 ### Meetings
57
58 Please see the [OCI org repository README](https://github.com/opencontainers/org#meetings) for the most up-to-date
59 information on OCI contributor and maintainer meeting schedules. You can also find links to meeting agendas and
60 minutes for all prior meetings.
61
62 ### Mailing List
63
64 You can subscribe and join the mailing list on [Google Groups][dev-list].
65
66 ### Chat
67
68 OCI discussion happens in the following chat rooms, which are all bridged together:
69
70 - #general channel on [OCI Slack](https://opencontainers.org/community/overview/#chat)
71 - #opencontainers:matrix.org
72
73 ### Git commit
74
75 #### Sign your work
76
77 The sign-off is a simple line at the end of the explanation for the patch, which certifies that you wrote it or otherwise have the right to pass it on as an open-source patch.
78 The rules are pretty simple: if you can certify the below (from https://developercertificate.org):
79
80 ```
81 Developer Certificate of Origin
82 Version 1.1
83
84 Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
85 660 York Street, Suite 102,
86 San Francisco, CA 94110 USA
87
88 Everyone is permitted to copy and distribute verbatim copies of this
89 license document, but changing it is not allowed.
90
91
92 Developer's Certificate of Origin 1.1
93
94 By making a contribution to this project, I certify that:
95
96 (a) The contribution was created in whole or in part by me and I
97 have the right to submit it under the open source license
98 indicated in the file; or
99
100 (b) The contribution is based upon previous work that, to the best
101 of my knowledge, is covered under an appropriate open source
102 license and I have the right under that license to submit that
103 work with modifications, whether created in whole or in part
104 by me, under the same open source license (unless I am
105 permitted to submit under a different license), as indicated
106 in the file; or
107
108 (c) The contribution was provided directly to me by some other
109 person who certified (a), (b) or (c) and I have not modified
110 it.
111
112 (d) I understand and agree that this project and the contribution
113 are public and that a record of the contribution (including all
114 personal information I submit with it, including my sign-off) is
115 maintained indefinitely and may be redistributed consistent with
116 this project or the open source license(s) involved.
117 ```
118
119 then you just add a line to every git commit message:
120
121 Signed-off-by: Joe Smith <[email protected]>
122
123 using your real name (sorry, no pseudonyms or anonymous contributions.)
124
125 You can add the sign off when creating the git commit via `git commit -s`.
126
127 #### Commit Style
128
129 Simple house-keeping for clean git history.
130 Read more on [How to Write a Git Commit Message][how-to-git-commit] or the Discussion section of [git-commit(1)][git-commit.1].
131
132 1. Separate the subject from body with a blank line
133 2. Limit the subject line to 50 characters
134 3. Capitalize the subject line
135 4. Do not end the subject line with a period
136 5. Use the imperative mood in the subject line
137 6. Wrap the body at 72 characters
138 7. Use the body to explain what and why vs. how
139 * If there was important/useful/essential conversation or information, copy or include a reference
140 8. When possible, one keyword to scope the change in the subject (i.e. "README: ...", "runtime: ...")
141
142
143 [charter]: https://github.com/opencontainers/tob/blob/master/CHARTER.md
144 [code-of-conduct]: https://github.com/opencontainers/org/blob/master/CODE_OF_CONDUCT.md
145 [dev-list]: https://groups.google.com/a/opencontainers.org/forum/#!forum/dev
146 [how-to-git-commit]: https://cbea.ms/git-commit/
147 [iso-week]: https://en.wikipedia.org/wiki/ISO_week_date#Calculating_the_week_number_of_a_given_date
148 [minutes]: https://ircbot.wl.linuxfoundation.org/meetings/opencontainers/
149 [oci]: https://www.opencontainers.org
150 [rfc5545]: https://tools.ietf.org/html/rfc5545
151 [runtime-wiki]: https://github.com/opencontainers/runtime-spec/wiki
152 [uberconference]: https://www.uberconference.com/opencontainers
153
154 [git-commit.1]: https://git-scm.com/docs/git-commit