Skip to content

Commit

Permalink
config: Add a media type for the configuration format
Browse files Browse the repository at this point in the history
So we can put these in image-spec CAS, or serve them over HTTP, or
whatever.

Signed-off-by: W. Trevor King <wking@tremily.us>
  • Loading branch information
wking committed Nov 6, 2016
1 parent 41ef05e commit 8696dfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

The container's top-level directory MUST contain a configuration file called `config.json`.
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).
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).

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

0 comments on commit 8696dfa

Please sign in to comment.