Allow specifying runtime to be used when creating container (#247)
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
committed by
Michael Crosby
parent
62e1370f91
commit
126e5c403e
@@ -52,6 +52,8 @@ func (s *apiServer) CreateContainer(ctx context.Context, c *types.CreateContaine
|
||||
e.Stderr = c.Stderr
|
||||
e.Labels = c.Labels
|
||||
e.NoPivotRoot = c.NoPivotRoot
|
||||
e.Runtime = c.Runtime
|
||||
e.RuntimeArgs = c.RuntimeArgs
|
||||
e.StartResponse = make(chan supervisor.StartResponse, 1)
|
||||
if c.Checkpoint != "" {
|
||||
e.Checkpoint = &runtime.Checkpoint{
|
||||
|
||||
Reference in New Issue
Block a user