We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b18ca86 + e7ee761 commit deea452Copy full SHA for deea452
validate/validate.go
@@ -627,10 +627,6 @@ func (v *Validator) CheckLinux() (errs error) {
627
628
if (len(v.spec.Linux.UIDMappings) > 0 || len(v.spec.Linux.GIDMappings) > 0) && !nsTypeList[rspec.UserNamespace].newExist {
629
errs = multierror.Append(errs, errors.New("the UID/GID mappings requires a new User namespace to be specified as well"))
630
- } else if len(v.spec.Linux.UIDMappings) > 5 {
631
- errs = multierror.Append(errs, errors.New("only 5 UID mappings are allowed (linux kernel restriction)"))
632
- } else if len(v.spec.Linux.GIDMappings) > 5 {
633
- errs = multierror.Append(errs, errors.New("only 5 GID mappings are allowed (linux kernel restriction)"))
634
}
635
636
for k := range v.spec.Linux.Sysctl {
0 commit comments