wking / oci-command-line-api

A command-line API specification for opencontainers/specs
Apache License 2.0
2 stars 3 forks source link

runtime: Add a 'state' command #16

Closed wking closed 8 years ago

wking commented 8 years ago

Partially catch up with opencontainers/runtime-spec@7117ede7 (Expand on the definition of our ops, 2015-10-13, opencontainers/runtime-spec#225, v0.4.0). The state example is adapted from the current release, but we defer the actual definition of that JSON to runtime-spec. The UTF-8 requirement extends runtime-spec's configuration JSON requirement to the output state.

This PR builds on #15, so that should be reviewed first.

wking commented 8 years ago

I backed off of the UTF-8 requirement in 77250e8 → 6b6146f, because the “Character encodings” section covers encodings. There's some discussion on the “should” wiggles in the character encodings section in the 6b6146f commit message.