Merge pull request #1412 from lifupan/shimv2mount

shimv2: optionally plug rootfs block storage instead of mounting it
This commit is contained in:
Peng Tao
2019-04-02 15:30:40 +08:00
committed by GitHub
19 changed files with 322 additions and 129 deletions

View File

@@ -594,7 +594,7 @@ func createContainer(context *cli.Context) error {
containerConfig := vc.ContainerConfig{
ID: id,
RootFs: context.String("rootfs"),
RootFs: vc.RootFs{Target: context.String("rootfs"), Mounted: true},
Cmd: cmd,
}