runc/schema/README.md

855 B

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 .
rm -rf $GOPATH

Then use it like:

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