Fetch the environments for the default global options#216
Fetch the environments for the default global options#216laijs wants to merge 2 commits intoopencontainers:masterfrom
Conversation
Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
|
On Thu, Aug 20, 2015 at 08:00:43PM -0700, Lai Jiangshan wrote:
It seems strange to use two different prefixes (OCI_ and RUNC_). I'm |
|
Not all implementation needs CRIU. The hypervisor based implementations[1] don't need it. So criu is runc (or some implementations, not all) specialized option, so the environment starts with prefix RUNC_. And the collaborative root directory is (will be) required for all implementations. so the environment starts with prefix OCI_. |
|
On Fri, Aug 21, 2015 at 12:24:24AM -0700, Lai Jiangshan wrote:
That makes sense, but “we don't all need $X” isn't enough to require |
|
I don't think env vars give us anything there. These are already flags on |
|
On Mon, Sep 14, 2015 at 04:31:34PM -0700, Michael Crosby wrote:
+1 to “we should only have one way to change the value”. |
|
Lets close this and just go for the flags right now for setting these options. |
…ommits .travis: Convert TRAVIS_COMMIT_RANGE base...head to base..head
Through 3297cd5 (Merge pull request opencontainers#216 from wking/travis-test-branch-commits, 2017-01-24). Signed-off-by: W. Trevor King <wking@tremily.us>
So thus the user doesn't need to specific the global option on every execution.
get the default root path based on the environment OCI_ROOT
get the default criu path based on the environment RUNC_CRIU