-
Notifications
You must be signed in to change notification settings - Fork 541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
define the default value for the cwd
#286
Conversation
Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
On Mon, Dec 28, 2015 at 07:50:21PM -0800, Lai Jiangshan wrote:
I think the root directory is a good default on Linux when the |
the user may not be the root. "home directory" seems to be good one, |
currently, both runc&runv use "/" as the default value. |
On Tue, Dec 29, 2015 at 10:03 AM W. Trevor King notifications@github.com
I really really want to avoid codifying special behavior. We either do one,
I can see the use case but this is a little to magical IMHO. |
On Tue, Dec 29, 2015 at 03:36:24AM -0800, Brandon Philips wrote:
I think this falls under my preferred “don't do anything if this isn't |
I think we don't need to add this specifically for Linux. |
After reviewing in your OCI f2f we think this should be a required field so that runtimes don't default to something different if it is optional or different platforms have different defaults. By allowing the user to specify this then there is no question what the cwd will be for their container. |
Signed-off-by: Lai Jiangshan jiangshanlai@gmail.com