Skip to content

Commit 3f348cd

Browse files
committed
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]> Reviewed-by: Mike Brown <[email protected]>
1 parent e9a6625 commit 3f348cd

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

runtime.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ Start a container from a bundle directory.
5151
* *Options*
5252
* *`--id <ID>`* Set the container ID when creating or joining a container.
5353
If not set, the runtime is free to pick any ID that is not already in use.
54-
* *`--config <PATH>`* Override `config.json` with an alternative path. The path may not support seeking (e.g. `/dev/fd/3`).
55-
* *`--runtime <PATH>`* Override `runtime.json` with an alternative path. The path may not support seeking (e.g. `/dev/fd/3`).
54+
* *`--bundle <PATH>`* Override the path to the bundle directory (defaults to the current working directory).
5655
* *Standard streams:* The runtime must attach its standard streams directly to the application process without inspection.
5756
* *Environment variables*
5857
* *`LISTEN_FDS`:* The number of file descriptors passed.

0 commit comments

Comments
 (0)