mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 14:13:58 +08:00
@@ -49,7 +49,7 @@ func rootlessMappings(config *configs.Config) error {
|
||||
return fmt.Errorf("rootless containers requires at least one UID mapping")
|
||||
}
|
||||
if len(config.GidMappings) == 0 {
|
||||
return fmt.Errorf("rootless containers requires at least one UID mapping")
|
||||
return fmt.Errorf("rootless containers requires at least one GID mapping")
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user