|
@@ -183,8 +183,8 @@ func (daemon *Daemon) containerStart(ctx context.Context, container *container.C
|
|
|
}
|
|
|
|
|
|
// TODO(mlaventure): we need to specify checkpoint options here
|
|
|
- tsk, err := ctr.Start(ctx, checkpointDir,
|
|
|
- container.StreamConfig.Stdin() != nil || container.Config.Tty,
|
|
|
+ tsk, err := ctr.Start(context.TODO(), // Passing ctx to ctr.Start caused integration tests to be stuck in the cleanup phase
|
|
|
+ checkpointDir, container.StreamConfig.Stdin() != nil || container.Config.Tty,
|
|
|
container.InitializeStdio)
|
|
|
if err != nil {
|
|
|
if err := ctr.Delete(context.Background()); err != nil {
|