From 32a192facfdfd0dacbc370e338543e78fa9f4279 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 5 Nov 2016 21:48:52 -0700 Subject: [PATCH] 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 --- config.md | 1 + 1 file changed, 1 insertion(+) diff --git a/config.md b/config.md index 096888f7f..0e1f4f82b 100644 --- a/config.md +++ b/config.md @@ -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 configuration format 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.