Skip to content

Commit 8696dfa

Browse files
committed
config: Add a media type for the configuration format
So we can put these in image-spec CAS, or serve them over HTTP, or whatever. Signed-off-by: W. Trevor King <[email protected]>
1 parent 41ef05e commit 8696dfa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
The container's top-level directory MUST contain a configuration file called `config.json`.
44
The canonical schema is defined in this document, but there is a JSON Schema in [`schema/config-schema.json`](schema/config-schema.json) and Go bindings in [`specs-go/config.go`](specs-go/config.go).
5+
The media type for this file is configuration is `application/vnd.oci.runtime.config.v1+json`, and all specifications using that media type will require [JSON](glossary.md#json) objects with an [`ociVersion`](#specification-version).
56

67
The configuration file contains metadata necessary to implement standard operations against the container.
78
This includes the process to run, environment variables to inject, sandboxing features to use, etc.

0 commit comments

Comments
 (0)