Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
start: Change --config and --runtime to --bundle
Personally I prefer a single config file [1]. I want folks to be able to pipe their config into the 'funC start' command (e.g. via a /dev/fd/3 pseudo-filesystem path) [2], and I have a working example that supports this without difficulty [3]. But since [4] landed on 2015-11-16, runC has replaced their --config-file and --runtime-file flags with --bundle, and the current goal of this repository is "keeping as much similarity with the existing runC command-line as possible", not "makes sense to Trevor" ;). [1]: https://groups.google.com/a/opencontainers.org/forum/#!topic/dev/0QbyJDM9fWY Subject: Single, unified config file (i.e. rolling back specs#88) Date: Wed, 4 Nov 2015 09:53:20 -0800 Message-ID: <[email protected]> [2]: opencontainers/runc#202 [3]: https://github.com/wking/ccon/tree/8ab5b535b5eca1a62e12b5e865735e24f1e1666d#configuration [4]: opencontainers/runc#373 Signed-off-by: W. Trevor King <[email protected]>
- Loading branch information
In runc's usage description we ended up with the wording:
We're saying
bundle
is the path to the root of the bundle directory. Override cwd is what happens in the runc process till the process exits, but that's an implementation detail, not a requirement. Maybe you could say...--bundle <PATH>
* Specifies the path to the bundle directory. By default the bundle directory is the current working directory.