Set image on rootfs options
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -154,6 +154,7 @@ func WithNewRootFS(id string, i Image) NewContainerOpts {
|
||||
return err
|
||||
}
|
||||
c.RootFS = id
|
||||
c.Image = i.Name()
|
||||
return nil
|
||||
}
|
||||
}
|
||||
@@ -170,6 +171,7 @@ func WithNewReadonlyRootFS(id string, i Image) NewContainerOpts {
|
||||
return err
|
||||
}
|
||||
c.RootFS = id
|
||||
c.Image = i.Name()
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user