You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reverting 7232e4b (specs: introduce the concept of a runtime.json,
2015-07-30, opencontainers#88) after discussion on the mailing list [1]. The main
reason is that it's hard to draw a clear line around "inherently
runtime-specific" or "non-portable", so we shouldn't try to do that in
the spec. Folks who want to flag settings as non-portable for their
own system are welcome to do so (e.g. "we will clobber 'hooks' in
bundles we run") are welcome to do so, but we don't have to have
to split the config into multiple files to do that.
There have been a number of additional changes since opencontainers#88, so this
isn't a pure Git reversion. Besides copy-pasting and the associated
link-target updates, I've:
* Restored path -> destination, now that the mount type contains both
source and target paths again. I'd prefer 'target' to 'destination'
to match mount(2), but the pre-7232e4b1 phrasing was 'destination'
(possibly due to Windows using 'target' for the source?).
* Restored the Windows mount example to it's pre-7232e4b1 content.
* Removed required mounts from the config example (requirements landed
in 3848a23, config-linux: specify the default devices/filesystems
available, 2015-09-09, opencontainers#164), because specifying those mounts in the
config is now redundant.
* Used headers (vs. bold paragraphs) to set off mount examples so we
get link anchors in the rendered Markdown.
* Replaced references to runtime.json with references to config.json.
[1]: https://groups.google.com/a/opencontainers.org/forum/#!topic/dev/0QbyJDM9fWY
Subject: Single, unified config file (i.e. rolling back specs#88)
Date: Wed, 4 Nov 2015 09:53:20 -0800
Message-ID: <20151104175320.GC24652@odin.tremily.us>
Copy file name to clipboardExpand all lines: ROADMAP.md
-7Lines changed: 0 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,13 +17,6 @@ Although OCI doesn't define a transport method we should have a cryptographic di
17
17
18
18
*Owner:* philips
19
19
20
-
### Review the need for runtime.json
21
-
22
-
There are some discussions about having `runtime.json` being optional for containers and specifying defaults.
23
-
Runtimes would use this standard set of defaults for containers and `runtime.json` would provide overrides for fine tuning of these extra host or platform specific settings.
24
-
25
-
*Owner:*
26
-
27
20
### Define Container Lifecycle
28
21
29
22
Containers have a lifecycle and being able to identify and document the lifecycle of a container is very helpful for implementations of the spec.
Copy file name to clipboardExpand all lines: bundle.md
+5-11Lines changed: 5 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,23 +8,17 @@ See also [OS X application bundles](http://en.wikipedia.org/wiki/Bundle_%28OS_X%
8
8
The definition of a bundle is only concerned with how a container, and its configuration data, are stored on a local file system so that it can be consumed by a compliant runtime.
9
9
10
10
A Standard Container bundle contains all the information needed to load and run a container.
11
-
This includes the following three artifacts which MUST all reside in the same directory on the local filesystem:
11
+
This includes the following artifacts which MUST all reside in the same directory on the local filesystem:
This REQUIRED file, which MUST be named `config.json`, contains settings that are host-independent and application-specific such as security permissions, environment variables and arguments.
13
+
1.`config.json` : contains configuration data.
14
+
This REQUIRED file, which MUST be named `config.json`.
15
15
When the bundle is packaged up for distribution, this file MUST be included.
0 commit comments