Skip to content

wking/ocitools-v2

 
 

Repository files navigation

ocitools

ocitools is a collection of tools for working with the OCI runtime specification.

Generating an OCI runtime spec configuration files

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

Validating an OCI bundle

ocitools validate validates an OCI bundle. The error message will be printed if the OCI bundle failed the validation procedure.

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

About

OCI Testing Toolset

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 95.4%
  • Shell 3.8%
  • Makefile 0.8%