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:
Kenfe-Mickaël Laventure 2016-05-23 15:43:47 -07:00 committed by Michael Crosby
parent 62e1370f91
commit 126e5c403e
4 changed files with 198 additions and 157 deletions

View file

@ -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{