2015-06-06 08:39:27 +08:00
# Open Container Specifications
2015-09-11 02:02:35 +08:00
[Open Container Initiative ](http://www.opencontainers.org/ ) Specifications for standards on Operating System process and application containers.
2015-06-25 08:15:48 +08:00
Table of Contents
2015-09-11 02:04:19 +08:00
- [Container Principles ](principles.md )
2015-06-25 08:15:48 +08:00
- [Filesystem Bundle ](bundle.md )
- [Container Configuration ](config.md )
- [Linux Specific Configuration ](config-linux.md )
- [Runtime and Lifecycle ](runtime.md )
2015-08-05 01:11:46 +08:00
- [Implementations ](implementations.md )
2015-06-25 08:15:48 +08:00
2015-07-29 23:24:46 +08:00
## Use Cases
To provide context for users the following section gives example use cases for each part of the spec.
### Filesystem Bundle & Configuration
- A user can create a root filesystem and configuration, with low-level OS and host specific details, and launch it as a container under an Open Container runtime.
2015-09-11 04:13:37 +08:00
## Releases
There is a loose [Road Map ](https://github.com/opencontainers/specs/wiki/RoadMap: ) on the wiki.
During the `0.x` series of OCI releases we make no backwards compatibility guarantees and intend to break the schema during this series.
2015-07-03 04:56:14 +08:00
# Contributing
2015-08-11 02:02:48 +08:00
Development happens on GitHub for the spec.
Issues are used for bugs and actionable items and longer discussions can happen on the [mailing list ](#mailing-list ).
2015-07-30 02:29:36 +08:00
2015-08-27 06:13:48 +08:00
The specification and code is licensed under the Apache 2.0 license found in the `LICENSE` file of this repository.
2015-08-11 02:02:48 +08:00
2015-09-04 21:36:26 +08:00
## Code of Conduct
Participation in the OpenContainers community is governed by [OpenContainer's Code of Conduct ](code-of-conduct.md ).
2015-08-11 02:02:48 +08:00
## Discuss your design
The project welcomes submissions, but please let everyone know what you are working on.
Before undertaking a nontrivial change to this specification, send mail to the [mailing list ](#mailing-list ) to discuss what you plan to do.
This gives everyone a chance to validate the design, helps prevent duplication of effort, and ensures that the idea fits.
It also guarantees that the design is sound before code is written; a GitHub pull-request is not the place for high-level discussions.
Typos and grammatical errors can go straight to a pull-request.
When in doubt, start on the [mailing-list ](#mailing-list ).
2015-07-03 04:56:14 +08:00
2015-07-30 02:29:36 +08:00
## Weekly Call
The contributors and maintainers of the project have a weekly meeting Wednesdays at 10:00 AM PST.
2015-08-27 03:12:10 +08:00
Everyone is welcome to participate in the [BlueJeans call][BlueJeans].
An initial agenda will be posted to the [mailing list ](#mailing-list ) earlier in the week, and everyone is welcome to propose additional topics or suggest other agenda alterations there.
2015-08-11 02:02:48 +08:00
Minutes for the call will be posted to the [mailing list ](#mailing-list ) for those who are unable to join the call.
## Mailing List
You can subscribe and join the mailing list on [Google Groups ](https://groups.google.com/a/opencontainers.org/forum/#!forum/dev ).
2015-07-30 02:29:36 +08:00
README: Document YouTube and IRC backchannel for meetings
On Mon, Aug 10, 2015 at 09:38:50AM -0700, Mrunal Patel wrote [1]:
> There is a limit of 10 participants per hangout. So, I will
> broadcast it at the time when it starts and people who aren't
> invited could view the stream and discuss on IRC.
On Mon, Aug 10, 2015 at 09:53:59AM -0700, Mrunal Patel wrote [2]:
> I think the youtube channel should work as the broadcast link
> https://www.youtube.com/channel/UC1wmLdEYmwWcsFg7bt1s5nw
The IRC channel location is from opencontainers/web@f693390f (updated
content, 2015-06-21).
[1]: https://groups.google.com/a/opencontainers.org/d/msg/dev/Cy5uFI_ySpg/E1FnYUmfDwAJ
From: Mrunal Patel
Subject: Re: Discussions and Notes
Date: Mon, 10 Aug 2015 09:38:50 -0700
Message-ID: <CANEZBD7K=8+i7RaTAkg_0XLUSQrZLykGR0bxce-JtErO8KAQ1Q@mail.gmail.com>
Cc: dev <dev@opencontainers.org>, ...
[2]: https://groups.google.com/a/opencontainers.org/d/msg/dev/Cy5uFI_ySpg/X4RQEx2gDwAJ
From: Mrunal Patel
Subject: Re: Discussions and Notes
Date: Mon, 10 Aug 2015 09:53:59 -0700
Message-ID: <CANEZBD7snSro5GXYc6QRuk3+KnR0WAeFThfQXvOcnx3t9jNXag@mail.gmail.com>
Cc: dev <dev@opencontainers.org>, ...
Signed-off-by: W. Trevor King <wking@tremily.us>
2015-08-11 01:05:48 +08:00
## IRC
OCI discussion happens on #opencontainers on Freenode.
2015-07-29 03:26:19 +08:00
## Markdown style
To keep consistency throughout the Markdown files in the Open Container spec all files should be formatted one sentence per line.
This fixes two things: it makes diffing easier with git and it resolves fights about line wrapping length.
For example, this paragraph will span three lines in the Markdown source.
2015-09-10 06:51:56 +08:00
## Git commit
2015-07-03 04:56:14 +08:00
### Sign your work
2015-09-09 22:17:06 +08:00
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.
The rules are pretty simple: if you can certify the below (from [developercertificate.org ](http://developercertificate.org/ )):
2015-07-03 04:56:14 +08:00
```
Developer Certificate of Origin
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
660 York Street, Suite 102,
San Francisco, CA 94110 USA
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
```
then you just add a line to every git commit message:
Signed-off-by: Joe Smith < joe @ gmail . com >
using your real name (sorry, no pseudonyms or anonymous contributions.)
You can add the sign off when creating the git commit via `git commit -s` .
README: Document YouTube and IRC backchannel for meetings
On Mon, Aug 10, 2015 at 09:38:50AM -0700, Mrunal Patel wrote [1]:
> There is a limit of 10 participants per hangout. So, I will
> broadcast it at the time when it starts and people who aren't
> invited could view the stream and discuss on IRC.
On Mon, Aug 10, 2015 at 09:53:59AM -0700, Mrunal Patel wrote [2]:
> I think the youtube channel should work as the broadcast link
> https://www.youtube.com/channel/UC1wmLdEYmwWcsFg7bt1s5nw
The IRC channel location is from opencontainers/web@f693390f (updated
content, 2015-06-21).
[1]: https://groups.google.com/a/opencontainers.org/d/msg/dev/Cy5uFI_ySpg/E1FnYUmfDwAJ
From: Mrunal Patel
Subject: Re: Discussions and Notes
Date: Mon, 10 Aug 2015 09:38:50 -0700
Message-ID: <CANEZBD7K=8+i7RaTAkg_0XLUSQrZLykGR0bxce-JtErO8KAQ1Q@mail.gmail.com>
Cc: dev <dev@opencontainers.org>, ...
[2]: https://groups.google.com/a/opencontainers.org/d/msg/dev/Cy5uFI_ySpg/X4RQEx2gDwAJ
From: Mrunal Patel
Subject: Re: Discussions and Notes
Date: Mon, 10 Aug 2015 09:53:59 -0700
Message-ID: <CANEZBD7snSro5GXYc6QRuk3+KnR0WAeFThfQXvOcnx3t9jNXag@mail.gmail.com>
Cc: dev <dev@opencontainers.org>, ...
Signed-off-by: W. Trevor King <wking@tremily.us>
2015-08-11 01:05:48 +08:00
2015-09-10 06:51:56 +08:00
### Commit Style
Simple house-keeping for clean git history.
Read more on [How to Write a Git Commit Message ](http://chris.beams.io/posts/git-commit/ ) or the Discussion section of [`git-commit(1)` ](http://git-scm.com/docs/git-commit ).
1. Separate the subject from body with a blank line
2. Limit the subject line to 50 characters
3. Capitalize the subject line
4. Do not end the subject line with a period
5. Use the imperative mood in the subject line
6. Wrap the body at 72 characters
7. Use the body to explain what and why vs. how
* If there was important/useful/essential conversation or information, copy or include a reference
8. When possible, one keyword to scope the change in the subject (i.e. "README: ...", "runtime: ...")
2015-08-27 03:12:10 +08:00
[BlueJeans]: https://bluejeans.com/1771332256/