diff --git a/image/config.go b/image/config.go index 14e41e2..e9545af 100644 --- a/image/config.go +++ b/image/config.go @@ -70,7 +70,7 @@ func (c *config) runtimeSpec(rootfs string) (*specs.Spec, error) { } var s specs.Spec - s.Version = "0.5.0" + s.Version = specs.Version // we should at least apply the default spec, otherwise this is totally useless s.Process.Terminal = true s.Root.Path = rootfs