runc/schema
Abhijeeth Nuthan 7c9daebaa7 Introducing Solaris in OCI
Signed-off-by: Abhijeeth Nuthan <abhijeeth.nuthan@oracle.com>
2016-05-04 12:19:27 -07:00
..
Makefile Modify README to keep consistency with Makefile 2016-04-14 12:33:17 +08:00
README.md Introducing Solaris in OCI 2016-05-04 12:19:27 -07:00
defs-linux.json schema: updates and fixes 2016-04-07 10:13:39 -04:00
defs.json schema: JSON Schema and validator for `config.json` 2016-03-09 19:32:52 +00:00
schema-linux.json Add support for Selinux mount context labels 2016-04-22 13:40:49 -07:00
schema-solaris.json Introducing Solaris in OCI 2016-05-04 12:19:27 -07:00
schema.json Introducing Solaris in OCI 2016-05-04 12:19:27 -07:00
validate.go schema: add a README 2016-04-13 13:44:34 -04:00

README.md

JSON schema

Overview

This directory contains the JSON Schema for validating the config.json of this container runtime specification.

The layout of the files is as follows:

Utility

There is also included a simple utility for facilitating validation of a config.json. To build it:

export GOPATH=`mktemp -d`
go get -d ./...
go build ./validate.go
rm -rf $GOPATH

Or you can just use make command to create the utility:

make validate

Then use it like:

./validate schema.json <yourpath>/config.json