Skip to content

Commit e7be40f

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 e7be40f

File tree

5 files changed

+50
-51
lines changed

5 files changed

+50
-51
lines changed

.gitignore

-1
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

+2-10
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

+11-37
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+
Additional documentation about how this group operates:
8+
9+
- [Code of Conduct](https://github.com/opencontainers/tob/blob/d2f9d68c1332870e40693fe077d311e0742bc73d/code-of-conduct.md)
10+
- [Style and Conventions](style.md)
11+
- [Roadmap](ROADMAP.md)
12+
- [Implementations](implementations.md)
13+
- [Releases](RELEASES.md)
14+
- [project](project.md)
15+
- [charter][charter]
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.
@@ -165,7 +140,6 @@ Read more on [How to Write a Git Commit Message](http://chris.beams.io/posts/git
165140
* If there was important/useful/essential conversation or information, copy or include a reference
166141
8. When possible, one keyword to scope the change in the subject (i.e. "README: ...", "runtime: ...")
167142

168-
[c99-unspecified]: http://www.open-std.org/jtc1/sc22/wg14/www/C99RationaleV5.10.pdf#page=18
169143
[UberConference]: https://www.uberconference.com/opencontainers
170144
[irc-logs]: http://ircbot.wl.linuxfoundation.org/eavesdrop/%23opencontainers/
171-
[rfc2119]: http://tools.ietf.org/html/rfc2119
145+
[charter]: https://www.opencontainers.org/about/governance

config-linux.md

+3-3
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

spec.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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+
[c99-unspecified]: http://www.open-std.org/jtc1/sc22/wg14/www/C99RationaleV5.10.pdf#page=18
34+
[rfc2119]: http://tools.ietf.org/html/rfc2119

0 commit comments

Comments
 (0)