[ctr] add --detach to run
This allows the user to detach from the container after it has started. Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -46,7 +46,7 @@ var taskStartCommand = cli.Command{
|
||||
|
||||
tty := spec.Process.Terminal
|
||||
|
||||
task, err := newTask(ctx, container, "", tty, context.Bool("null-io"))
|
||||
task, err := newTask(ctx, client, container, "", tty, context.Bool("null-io"))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user