Skip to content

Commit 082ebc1

Browse files
author
Doug Davis
committed
Cleanup the spec a bit to remove WG/git text that's not really part of the spec
renamed an href to "container-namespace2" to avoid a dup-warning msg from the PDF generator Signed-off-by: Doug Davis <[email protected]>
1 parent 600b8b4 commit 082ebc1

7 files changed

Lines changed: 56 additions & 61 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
output
22
schema/validate
3-
code-of-conduct.md
43
version.md

Makefile

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,8 @@ endif
2121
# These docs are in an order that determines how they show up in the PDF/HTML docs.
2222
DOC_FILES := \
2323
version.md \
24-
README.md \
25-
code-of-conduct.md \
24+
spec.md \
2625
principles.md \
27-
style.md \
28-
ROADMAP.md \
29-
implementations.md \
30-
project.md \
3126
bundle.md \
3227
runtime.md \
3328
runtime-linux.md \
@@ -54,9 +49,6 @@ $(OUTPUT_DIRNAME)/$(DOC_FILENAME).html: $(DOC_FILES)
5449
$(PANDOC) -f markdown_github -t html5 -o $(PANDOC_DST)$@ $(patsubst %,$(PANDOC_SRC)%,$(DOC_FILES))
5550
endif
5651

57-
code-of-conduct.md:
58-
curl -o $@ https://raw.githubusercontent.com/opencontainers/tob/d2f9d68c1332870e40693fe077d311e0742bc73d/code-of-conduct.md
59-
6052
version.md: ./specs-go/version.go
6153
go run ./.tool/version-doc.go > $@
6254

@@ -105,5 +97,5 @@ endif
10597
.PHONY: clean
10698
clean:
10799
rm -rf $(OUTPUT_DIRNAME) *~
108-
rm -f code-of-conduct.md version.md
100+
rm -f version.md
109101

README.md

Lines changed: 10 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,17 @@
22

33
The [Open Container Initiative](http://www.opencontainers.org/) develops specifications for standards on Operating System process and application containers.
44

5+
The specification can be found [here](spec.md).
56

6-
Table of Contents
7-
8-
- [Introduction](README.md)
9-
- [Code of Conduct](#code-of-conduct)
10-
- [Container Principles](principles.md)
11-
- [Style and Conventions](style.md)
12-
- [Roadmap](ROADMAP.md)
13-
- [Implementations](implementations.md)
14-
- [project](project.md)
15-
- [Filesystem Bundle](bundle.md)
16-
- Runtime and Lifecycle
17-
- [General Runtime and Lifecycle](runtime.md)
18-
- [Linux-specific Runtime and Lifecycle](runtime-linux.md)
19-
- Configuration
20-
- [General Configuration](config.md)
21-
- [Linux-specific Configuration](config-linux.md)
22-
- [Solaris-specific Configuration](config-solaris.md)
23-
- [Windows-specific Configuration](config-windows.md)
24-
- [Glossary](glossary.md)
25-
26-
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" are to be interpreted as described in [RFC 2119][rfc2119].
27-
28-
The key words "unspecified", "undefined", and "implementation-defined" are to be interpreted as described in the [rationale for the C99 standard][c99-unspecified].
29-
30-
An implementation is not compliant for a given CPU architecture if it fails to satisfy one or more of the MUST, REQUIRED, or SHALL requirements for the protocols it implements.
31-
An implementation is compliant for a given CPU architecture if it satisfies all the MUST, REQUIRED, and SHALL requirements for the protocols it implements.
32-
33-
Protocols defined by this specification are:
34-
* Linux containers: [runtime.md](runtime.md), [config.md](config.md), [config-linux.md](config-linux.md), and [runtime-linux.md](runtime-linux.md).
35-
* Solaris containers: [runtime.md](runtime.md), [config.md](config.md), and [config-solaris.md](config-solaris.md).
36-
* Windows containers: [runtime.md](runtime.md), [config.md](config.md), and [config-windows.md](config-windows.md).
7+
[charter]: https://www.opencontainers.org/about/governance
8+
9+
Additional documentation about how this group operates:
10+
11+
- [Code of Conduct](https://github.com/opencontainers/tob/blob/d2f9d68c1332870e40693fe077d311e0742bc73d/code-of-conduct.md)
12+
- [Style and Conventions](style.md)
13+
- [Roadmap](ROADMAP.md)
14+
- [Implementations](implementations.md)
15+
- [Releases](RELEASES.md)
3716

3817
# Use Cases
3918

@@ -66,10 +45,6 @@ Issues are used for bugs and actionable items and longer discussions can happen
6645

6746
The specification and code is licensed under the Apache 2.0 license found in the [LICENSE](./LICENSE) file.
6847

69-
## Code of Conduct
70-
71-
Participation in the OCI community is governed by the [OCI Code of Conduct](https://github.com/opencontainers/tob/blob/d2f9d68c1332870e40693fe077d311e0742bc73d/code-of-conduct.md).
72-
7348
## Discuss your design
7449

7550
The project welcomes submissions, but please let everyone know what you are working on.

RELEASES.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ Releases are proposed and adopted or rejected using the usual [project governanc
77
An anti-pattern that we want to avoid is heavy development or discussions "late cycle" around major releases.
88
We want to build a community that is involved and communicates consistently through all releases instead of relying on "silent periods" as a judge of stability.
99

10+
## Release Process
11+
12+
* Increment version in [`specs-go/version.go`](specs-go/version.go)
13+
* `git commit` version increment
14+
* `git tag` the prior commit (preferably signed tag)
15+
* `make docs` to produce PDF and HTML copies of the spec
16+
* Make a release on [github.com/opencontainers/runtime-spec](https://github.com/opencontainers/runtime-spec/releases) for the version. Attach the produced docs.
17+
1018
## Parallel releases
1119

1220
A single project MAY consider several motions to release in parallel.
@@ -47,5 +55,3 @@ Specifications have a variety of different timelines in their lifecycle.
4755
Maintainers SHOULD strive to make zero breaking changes during this cycle of release candidates and SHOULD restart the three-candidate count when a breaking change is introduced.
4856
For example if a breaking change is introduced in v1.0.0-rc2 then the series would end with v1.0.0-rc4 and v1.0.0.
4957
- Minor and patch releases SHOULD be made on an as-needed basis.
50-
51-
[charter]: https://www.opencontainers.org/about/governance

config-linux.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ Its value is either slave, private, or shared.
562562
## Masked Paths
563563

564564
**`maskedPaths`** (array of strings, OPTIONAL) will mask over the provided paths inside the container so that they cannot be read.
565-
The values MUST be absolute paths in the [container namespace][container-namespace].
565+
The values MUST be absolute paths in the [container namespace][container-namespace2].
566566

567567
###### Example
568568

@@ -575,7 +575,7 @@ The values MUST be absolute paths in the [container namespace][container-namespa
575575
## Readonly Paths
576576

577577
**`readonlyPaths`** (array of strings, OPTIONAL) will set the provided paths as readonly inside the container.
578-
The values MUST be absolute paths in the [container namespace][container-namespace].
578+
The values MUST be absolute paths in the [container namespace][container-namespace2].
579579

580580
###### Example
581581

@@ -595,7 +595,7 @@ The values MUST be absolute paths in the [container namespace][container-namespa
595595
"mountLabel": "system_u:object_r:svirt_sandbox_file_t:s0:c715,c811"
596596
```
597597

598-
[container-namespace]: glossary.md#container_namespace
598+
[container-namespace2]: glossary.md#container_namespace
599599
[cgroup-v1]: https://www.kernel.org/doc/Documentation/cgroup-v1/cgroups.txt
600600
[cgroup-v1-blkio]: https://www.kernel.org/doc/Documentation/cgroup-v1/blkio-controller.txt
601601
[cgroup-v1-cpusets]: https://www.kernel.org/doc/Documentation/cgroup-v1/cpusets.txt

project.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

spec.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Open Container Initiative Runtime Specification
2+
3+
The [Open Container Initiative](http://www.opencontainers.org/) develops specifications for standards on Operating System process and application containers.
4+
5+
Protocols defined by this specification are:
6+
* Linux containers: [runtime.md](runtime.md), [config.md](config.md), [config-linux.md](config-linux.md), and [runtime-linux.md](runtime-linux.md).
7+
* Solaris containers: [runtime.md](runtime.md), [config.md](config.md), and [config-solaris.md](config-solaris.md).
8+
* Windows containers: [runtime.md](runtime.md), [config.md](config.md), and [config-windows.md](config-windows.md).
9+
10+
# Table of Contents
11+
12+
- [Introduction](spec.md)
13+
- [Notational Conventions](#notational-conventions)
14+
- [Container Principles](principles.md)
15+
- [Filesystem Bundle](bundle.md)
16+
- [Runtime and Lifecycle](runtime.md)
17+
- [Linux-specific Runtime and Lifecycle](runtime-linux.md)
18+
- [Configuration](config.md)
19+
- [Linux-specific Configuration](config-linux.md)
20+
- [Solaris-specific Configuration](config-solaris.md)
21+
- [Windows-specific Configuration](config-windows.md)
22+
- [Glossary](glossary.md)
23+
24+
# Notational Conventions
25+
26+
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" are to be interpreted as described in [RFC 2119][rfc2119].
27+
28+
The key words "unspecified", "undefined", and "implementation-defined" are to be interpreted as described in the [rationale for the C99 standard][c99-unspecified].
29+
30+
An implementation is not compliant for a given CPU architecture if it fails to satisfy one or more of the MUST, REQUIRED, or SHALL requirements for the protocols it implements.
31+
An implementation is compliant for a given CPU architecture if it satisfies all the MUST, REQUIRED, and SHALL requirements for the protocols it implements.
32+
33+
[rfc2119]: http://tools.ietf.org/html/rfc2119

0 commit comments

Comments
 (0)