diff --git a/cmd/ctr/commands/run/run.go b/cmd/ctr/commands/run/run.go index f9a429dfd..ad3a8f7aa 100644 --- a/cmd/ctr/commands/run/run.go +++ b/cmd/ctr/commands/run/run.go @@ -97,7 +97,7 @@ func loadSpec(path string, s *specs.Spec) error { return errors.New("cannot load spec config file") } if err := json.Unmarshal(raw, s); err != nil { - return errors.New("decoding spec config file failed") + return errors.Errorf("decoding spec config file failed, current supported OCI runtime-spec : v%s", specs.Version) } return nil }