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.
1 parent efaa669 commit e7ee761Copy full SHA for e7ee761
validate/validate.go
@@ -615,10 +615,6 @@ func (v *Validator) CheckLinux() (errs error) {
615
616
if (len(v.spec.Linux.UIDMappings) > 0 || len(v.spec.Linux.GIDMappings) > 0) && !nsTypeList[rspec.UserNamespace].newExist {
617
errs = multierror.Append(errs, errors.New("the UID/GID mappings requires a new User namespace to be specified as well"))
618
- } else if len(v.spec.Linux.UIDMappings) > 5 {
619
- errs = multierror.Append(errs, errors.New("only 5 UID mappings are allowed (linux kernel restriction)"))
620
- } else if len(v.spec.Linux.GIDMappings) > 5 {
621
- errs = multierror.Append(errs, errors.New("only 5 GID mappings are allowed (linux kernel restriction)"))
622
}
623
624
for k := range v.spec.Linux.Sysctl {
0 commit comments