Merge pull request #5932 from dcantah/ctr-exec-add-cwd
This commit is contained in:
commit
1dfd8a279e
@ -104,6 +104,10 @@ var execCommand = cli.Command{
|
||||
pspec.Terminal = tty
|
||||
pspec.Args = args
|
||||
|
||||
if cwd := context.String("cwd"); cwd != "" {
|
||||
pspec.Cwd = cwd
|
||||
}
|
||||
|
||||
task, err := container.Task(ctx, nil)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user