1
0
mirror of https://github.com/opencontainers/runtime-spec.git synced 2026-02-05 18:45:18 +01:00

1261 Commits

Author SHA1 Message Date
Vincent Batts
4e3b9264a3 version: release 1.0.1
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
v1.0.1
2017-10-30 08:34:21 -04:00
W. Trevor King
85feb9a2e1 ChangeLog: Document changes since v1.0.0
Through a5276ae (Merge pull request #929 from
giuseppe/add-more-implementations, 2017-10-23).

There have also been a few non-spec changes which I have not
documented in the ChangeLog:

13b4639 .pullapprove.yml: Switch to v2 and other project-template
  updates (#902)
f6f2514 README: Make meetings monthly (were weekly) (#910)
e27acdd implementations: Replace "cc-oci-runtime" with "cc-runtime"
  (#922)
ec4cc47 implementations: add crun (#929)
d4990d1 implementations: add bwrap-oci (#929)
8a16f08 .mailmap: Consolidate James' entries (#924)

Signed-off-by: W. Trevor King <wking@tremily.us>
2017-10-30 08:34:12 -04:00
Tianon Gravi
a5276ae66a Merge pull request #929 from giuseppe/add-more-implementations
implementations: add bwrap-oci and crun
2017-10-23 09:42:41 -07:00
Giuseppe Scrivano
ec4cc47dff implementations: add crun
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2017-10-22 13:14:27 +02:00
Giuseppe Scrivano
d4990d1dcb implementations: add bwrap-oci
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2017-10-22 13:14:17 +02:00
Michael Crosby
4ebb31efe9 Merge pull request #925 from wking/absolute-namespace-path-must
config-linux: RFC 2119 MUST for absolute linux.namespaces[].path
2017-10-09 11:31:24 -04:00
Tianon Gravi
34170989dc Merge pull request #913 from rutsky/fix-link
Fix link on IEEE Std 1003.1-2008
2017-10-04 14:07:16 -07:00
W. Trevor King
f2314928f7 config-linux: RFC 2119 MUST for absolute linux.namespaces[].path
The old language is from 72cbff67 (config-linux.md: clearly require
absolute path for namespace, 2017-03-10, #720), but without RFC 2119
language in the absolute path wording, it's not a compliance
requirement (per spec.md's "compliant" definition).  This commit
adjusts the language to bring it in line with our current wording for
maskedPaths and readonlyPaths, which we've had since 25f44dd0 (
config-linux: fix format and definitely require value of masked and
readonly paths, 2016-09-30, #587).

Signed-off-by: W. Trevor King <wking@tremily.us>
2017-09-28 12:54:44 -07:00
Qiang Huang
a8125598b3 Merge pull request #924 from wking/mailmap
.mailmap: Consolidate James' entries
2017-09-27 09:08:35 +08:00
W. Trevor King
8a16f0862a .mailmap: Consolidate James' entries
Preferring his new (more detailed) name:

  $ git log --decorate --author james.o.hunt | grep -B1 Author
  commit e27acdd9ca (origin/pr/922)
  Author: James O. D. Hunt <james.o.hunt@intel.com>
  --
  commit 30bc033168 (origin/pr/539)
  Author: James Hunt <james.o.hunt@intel.com>

Signed-off-by: W. Trevor King <wking@tremily.us>
2017-09-25 11:12:59 -07:00
Daniel, Dao Quang Minh
f09dac8ed9 Merge pull request #922 from jodh-intel/implementations-add-cc-runtime
Add new "cc-runtime" to list of implementations.
2017-09-22 11:40:14 +01:00
James O. D. Hunt
e27acdd9ca Replace "cc-oci-runtime" with "cc-runtime" in list of implementations.
"cc-runtime" replaces "cc-oci-runtime", which is now in maintenance
mode.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2017-09-22 10:05:17 +01:00
Daniel, Dao Quang Minh
325e66a663 Merge pull request #921 from giuseppe/fix-typo
Fix typo psuedo->pseudo
2017-09-19 11:28:37 +01:00
Giuseppe Scrivano
83aeb2735e Fix typo psuedo->pseudo
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2017-09-18 21:19:33 +02:00
Michael Crosby
689521f694 Merge pull request #915 from wking/rlimits-unmapped-period
config: Add a trailing period to the "cannot be mapped" rlimits line
2017-09-01 10:29:48 -04:00
W. Trevor King
a89dd9d0e2 config: Add a trailing period to the "cannot be mapped" rlimits line
Fixing a typo I'd made in 5292e9c8 (config: Make rlimits
POSIX-specific, 2017-05-23, #880).

Signed-off-by: W. Trevor King <wking@tremily.us>
2017-08-31 12:22:04 -07:00
Qiang Huang
f5f1390769 Merge pull request #910 from wking/monthly-meetings
README: Make meetings monthly (were weekly)
2017-08-30 09:04:15 +08:00
Michael Crosby
ec969749e7 Merge pull request #902 from wking/pull-approve-v2
.pullapprove.yml: Switch to v2 and other project-template updates
2017-08-22 11:05:04 -04:00
Michael Crosby
2a67f81889 Merge pull request #900 from wking/oci-runtime-specification
*: Add "Initiative" to OCI Runtime Specification and expand OCI
2017-08-22 10:36:18 -04:00
Qiang Huang
32946955f2 Merge pull request #825 from Mashimiao/fix-blkio-spec
config-linux.md: part fix of blkio spec
2017-08-22 19:23:55 +08:00
Vladimir Rutsky
308fbdf2f1 Fix link on IEEE Std 1003.1-2008
Signed-off-by: Vladimir Rutsky <rutsky@google.com>
2017-08-22 00:44:13 +02:00
W. Trevor King
f6f2514275 README: Make meetings monthly (were weekly)
There was a call for making them as-needed:

On Wed, Aug 16, 2017 at 11:26:18AM -0400, Michael Crosby wrote [1]:
> I vote for canceling these.  We don't have the turnout anymore.
>
> We should go to an on-needed basis, where, if we have an agenda the
> maintainers of the project can schedule a meeting to discuss any
> pressing issues.  If not, lets not have a meeting for the sake of
> having a meeting.
>
> We can also rely on IRC more so that we can have an async
> conversation that is more convenient for others.

But we ended up going with monthly meetings:

On Wed, Aug 16, 2017 at 11:25:44AM -0500, Chris Aniszczyk wrote [2]:
> I'd prefer monthly if we had an option, it would be useful for some
> of us who are working on certification to at least have an avenue to
> meet with the dev team on a call, but it's up to the TDC to decide.

On Thu, Aug 17, 2017 at 06:24:04AM -0500, Chris Aniszczyk wrote [3]:
> So lets do Monthly, first Wed at 1700 PDT unless anyone objects

With the old 2pm Pacific time:

On Thu, Aug 17, 2017 at 06:44:49PM +0000, Rob Dolin wrote [4]:
> +1 to Tianon’s request for earlier in the day.
>
> How about keeping the 2:00 PM (USA Pacific) time slot?
>
> While it’s earlier for Asia, it’s also not too late for Europe; and
> not in the middle of family time for USA Eastern.

The ICS was validated with [5].

[1]: https://groups.google.com/a/opencontainers.org/d/msg/dev/PC2DzxarMqA/c_6gqsn1AQAJ
     Subject: Re: Do we have a ConCall tomorrow at 8am (Pacific)
     Date: Wed, 16 Aug 2017 11:26:18 -0400
     Message-ID: <CADe0Yksi_DM6eSEGhxGh8eF6ODxnY4sqEPiy4DQ0gNtdTEGYmw@mail.gmail.com>
[2]: https://groups.google.com/a/opencontainers.org/d/msg/dev/PC2DzxarMqA/_7CSvQf5AQAJ
     Subject: Re: Do we have a ConCall tomorrow at 8am (Pacific)
     Date: Wed, 16 Aug 2017 11:25:44 -0500
     Message-ID: <CAPon+wOC6gC_d95AEoxdAH_b58h7JoM=Utv6eUD8vijUZ5xd=A@mail.gmail.com>
[3]: https://groups.google.com/a/opencontainers.org/d/msg/dev/PC2DzxarMqA/SVF0KiY3AgAJ
     Subject: Re: Do we have a ConCall tomorrow at 8am (Pacific)
     Date: Thu, 17 Aug 2017 06:24:04 -0500
     Message-ID: <CAPon+wO2fR4yv5=JVGPcocfg4CA8is5a+0MEA3Lg1DQTJpUWeA@mail.gmail.com>
[4]: https://groups.google.com/a/opencontainers.org/d/msg/dev/PC2DzxarMqA/1B_pFDNPAgAJ
     Subject: RE: Do we have a ConCall tomorrow at 8am (Pacific)
     Date: Thu, 17 Aug 2017 18:44:49 +0000
     Message-ID: <MWHPR21MB01588B484713581F52BA6162DE830@MWHPR21MB0158.namprd21.prod.outlook.com>
[5]: https://icalendar.org/validator.html

Signed-off-by: W. Trevor King <wking@tremily.us>
2017-08-21 14:53:34 -07:00
Michael Crosby
b747937331 Merge pull request #901 from wking/config-title
config: Simplify title to "Configuration"
2017-08-18 09:35:32 -04:00
Qiang Huang
49c255ef7f Merge pull request #892 from q384566678/solaris-fix
config-solaris: Replaced refs with actual fields in cappedCPU, cappedMemory and anet fields
2017-08-14 10:16:27 +08:00
Tianon Gravi
c47d8e6ec7 Merge pull request #907 from wking/container-process
runtime: Change "process in the container" -> "container process"
2017-08-04 12:07:04 -07:00
W. Trevor King
f10441041b runtime: Change "process in the container" -> "container process"
The latter is much more common:

  $ git --no-pager grep -ic "process in the container" origin/master -- *.md
  origin/master:runtime.md:1
  $ git --no-pager grep -ic "container process" origin/master -- *.md
  origin/master:config-linux.md:4
  origin/master:config.md:2
  origin/master:glossary.md:1
  origin/master:runtime.md:5

Signed-off-by: W. Trevor King <wking@tremily.us>
2017-08-03 15:42:29 -07:00
Qiang Huang
63af1125f8 Merge pull request #886 from q384566678/config-shchema-fix
config-schema: Optimize code
2017-08-03 09:21:37 +08:00
Michael Crosby
0ee0850ebb Merge pull request #891 from q384566678/windows-fix
config-windows: fix the type of maximum
2017-08-01 11:57:16 -04:00
Michael Crosby
30bdf3b2b3 Merge pull request #889 from q384566678/intelRdt-add
config-linux: add intelRdt field
2017-08-01 09:04:43 -04:00
Michael Crosby
6d696f524b Merge pull request #906 from wking/procfs-to-proc-link-label
config: Fix “procfs_2” → “proc_2” link label
2017-07-28 13:22:16 -04:00
W. Trevor King
cae2991534 config: Fix "procfs_2" -> "proc_2" link label
Catching up with 56eb6a1 (modify procfs to proc, 2017-07-28, #905),
because it's strange to change one link label from "procfs" -> "proc"
but leave the other.  This will also make it marginally easier to
collapse these to a single link label once we convert the spec to a
single Markdown file [1].

[1]: https://groups.google.com/a/opencontainers.org/d/msg/dev/1Wwd_MEzSjI/DsCkR-UwAgAJ
     Subject: [runtime-spec] Hosting 1.0 HTML on opencontainers.org and
       timing for transition to single-page Markdown
     Date: Thu, 27 Jul 2017 16:23:40 -0700
     Message-ID: <20170727232340.GA24408@valgrind.tremily.us>

Signed-off-by: W. Trevor King <wking@tremily.us>
2017-07-28 10:12:36 -07:00
Daniel, Dao Quang Minh
1c9ab429b8 Merge pull request #905 from Mashimiao/procfs-proc
modify procfs to proc
2017-07-28 14:20:10 +01:00
Ma Shimiao
56eb6a14e7 modify procfs to proc
There is no procfs type in Linux, it will confuse readers.

Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2017-07-28 13:55:32 +08:00
Michael Crosby
1df1fb3b0c Merge pull request #899 from 0x0916/update-schema
schema/config-linux: s/throttleWriteIopsDevice/throttleWriteIOPSDevice/
2017-07-27 15:00:28 -04:00
v1.0.0.batts
337efca029 Merge pull request #893 from opencontainers/bump-version
Release v1.0.0
2017-07-19 15:59:12 -04:00
W. Trevor King
4c4a7cbf5e config: Simplify title to "Configuration"
The capitalization in "Container Configuration file" (which we've used
since 70372d38, *.md: update TOC and links, 2015-09-10, #176) was
halfway between "Title Case" and "Sentence case".  The current spec
isn't particularly consistent (e.g. we have both "Specification
version" and "POSIX-platform Mounts"), but the ToC has used
"Configuration" for this file since e7be40f0 (Cleanup the spec a bit
to remove WG/git text that's not really part of the spec, 2016-11-14,
#626) so dodge the sentence/title issue and use that here too.

Signed-off-by: W. Trevor King <wking@tremily.us>
2017-07-19 09:24:10 -07:00
0x0916
52cdbdc942 schema/config-linux: s/throttleWriteIopsDevice/throttleWriteIOPSDevice/
Signed-off-by: 0x0916 <w@laoqinren.net>
2017-07-15 09:27:17 +08:00
W. Trevor King
d4f835d4dd spec: Expand "OCI" in spec-title reference
For consistency with the rest of the spec:

  $ git --no-pager grep --count 'Open Container Initiative Runtime Specification'
  README.md:1
  config.md:2
  schema/config-schema.json:1
  schema/defs.json:2
  spec.md:1
  specs-go/config.go:1
  $ git --no-pager grep --count 'OCI Runtime Specification'
  spec.md:1

Signed-off-by: W. Trevor King <wking@tremily.us>
2017-07-13 10:37:58 -07:00
W. Trevor King
ef65f73b9f *: Add "Initiative" to OCI Runtime Specification
Catching up with e641611f (README: tweak title, 2016-09-16, #571).

Signed-off-by: W. Trevor King <wking@tremily.us>
2017-07-13 10:35:48 -07:00
zhouhao
58ae3dd768 config-solaris: Replaced refs with some fields
Signed-off-by: zhouhao <zhouhao@cn.fujitsu.com>
2017-07-13 09:52:11 +08:00
Vincent Batts
84ba019aec version: bump master back to -dev
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-07-12 19:28:42 -04:00
Vincent Batts
02137cd4e5 version: release v1.0.0
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
v1.0.0
2017-07-12 19:28:32 -04:00
W. Trevor King
eac58a47d4 ChangeLog: Document changes since v1.0.0-rc6
Through 96de01bb (Merge pull request #897 from crosbymichael/pids,
2017-07-12).

Signed-off-by: W. Trevor King <wking@tremily.us>
2017-07-12 19:28:24 -04:00
Tianon Gravi
96de01bbb4 Merge pull request #897 from crosbymichael/pids
Make pid option on platforms other than linux
2017-07-12 16:20:09 -07:00
Michael Crosby
d3c8849b07 Make pid option on platforms other than linux
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-07-12 15:49:39 -07:00
Mrunal Patel
a7bc89bdcc Merge pull request #896 from wking/disable-oom-killer-under-memory
config-linux: Move 'disableOOMKiller' under 'memory'
2017-07-12 15:23:34 -07:00
W. Trevor King
ef514090c1 config-linux: Move 'disableOOMKiller' under 'memory'
It's backed by memory.oom_control, so this commit moves it in with
the rest of the memory-controller config.

Looking at the history, the initial request landing a setting for this
in the Docker/OCI ecosystem seems to be [1], which added
Cgroup.OomKillDisable.  That commit was carried from libcontainer into
runC [2] where it is now Resources.OomKillDisable [3].  From runC it
was carried into this repo (with some renaming) in [4].  Subsequent
early doc updates landed in [5,6].  In none of those can I find
discussion about why the setting is not already under memory.  I
expect the reason is that the runC structures are flat, so "under
memory" is not a thing there.  But in this spec, resources has
per-controller sub-properties.  The fact that disableOOMKiller
belonged to the memory controller may have been overlooked in [4] and
never revisited until now.

[1]: https://github.com/docker/libcontainer/pull/417
     Subject: cgroups: add support for oom control
[2]: 295c70865d
     Subject: cgroups: add support for oom control
[3]: https://github.com/opencontainers/runc/blob/v1.0.0-rc3/libcontainer/configs/cgroup_unix.go#L113-L114
[4]: https://github.com/opencontainers/runtime-spec/pull/51
     Subject: Add Go types for specification
[5]: https://github.com/opencontainers/runtime-spec/pull/137
     Subject: Adding cgroups path to the Spec.
[6]: https://github.com/opencontainers/runtime-spec/pull/199
     Subject: runtime: config: linux: add cgroups informations

Signed-off-by: W. Trevor King <wking@tremily.us>
2017-07-12 15:02:15 -07:00
v1.0.0.batts
06c488c0d4 Merge pull request #888 from wking/v1.0.0-rc6-change-log
ChangeLog: Document changes since c83b8c8
2017-07-12 10:31:25 -04:00
zhouhao
889c163cc9 config-windows: fix the type of maximum
Signed-off-by: zhouhao <zhouhao@cn.fujitsu.com>
2017-07-12 13:24:34 +08:00
W. Trevor King
913d300b76 ChangeLog: Document changes since c83b8c8
Through f4d221c (Merge pull request #880 from
dqminh/wking-linux-only-capabilities-again, 2017-07-05).  The rc6
release picked up an earlier version of these notes, and those entries
are mostly unchanged except for:

* The credentialSpec entry, which was #814 for credentialspec and now
  also includes #859 for credentialSpec.

* The root(.path) Hyper-V entry, which was #820 for root.path and now
  also includes #838 for root.  I also moved this into the "breaking
  changes" section, because rc5 Hyper-V configs required root to be
  set, and rc6 Hyper-V configs require it to not be set.  Although
  whether rc5 allowed Hyper-V configs at all is not clear to me.

* Fixed indenting for the typo-fixes entry, as well as a number of
  more recent typo-fix PRs.

Signed-off-by: W. Trevor King <wking@tremily.us>
2017-07-11 11:19:13 -07:00