cri-o/vendor/github.com/opencontainers/runtime-tools
Michał Żyłowski 52baf68d50 Vendor: Update k8s version
Signed-off-by: Michał Żyłowski <michal.zylowski@intel.com>
2017-02-03 16:04:59 +01:00
..
cmd Vendor: Update k8s version 2017-02-03 16:04:59 +01:00
completions/bash Vendor: Update k8s version 2017-02-03 16:04:59 +01:00
contrib Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
generate Vendor containers/image and containers/storage 2017-01-18 10:21:59 -05:00
Godeps Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
man Vendor: Update k8s version 2017-02-03 16:04:59 +01:00
validate Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
.gitignore Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
.mailmap Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
.pullapprove.yml Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
.travis.yml Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
CONTRIBUTING.md Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
LICENSE Build and install from GOPATH 2017-01-17 12:09:09 -08:00
MAINTAINERS Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
MAINTAINERS_GUIDE.md Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
Makefile Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
README.md Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
rootfs.tar.gz Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
test_runtime.sh Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00

oci-runtime-tool Build Status Go Report Card

oci-runtime-tool is a collection of tools for working with the OCI runtime specification.

Generating an OCI runtime spec configuration files

oci-runtime-tool generate generates configuration JSON for an OCI bundle. OCI-compatible runtimes like runC expect to read the configuration from config.json.

$ oci-runtime-tool generate --output config.json
$ cat config.json
{
        "ociVersion": "0.5.0",
        …
}

Validating an OCI bundle

oci-runtime-tool validate validates an OCI bundle. The error message will be printed if the OCI bundle failed the validation procedure.

$ oci-runtime-tool generate
$ oci-runtime-tool validate
INFO[0000] Bundle validation succeeded.

Testing OCI runtimes

$ make
$ sudo make install
$ sudo ./test_runtime.sh -r runc
-----------------------------------------------------------------------------------
VALIDATING RUNTIME: runc
-----------------------------------------------------------------------------------
validating container process
validating capabilities
validating hostname
validating rlimits
validating sysctls
Runtime runc passed validation