Does docker valid

I cannot install OpenCore hackintoush and i found way to install mac via docker does it valid or will it be sick like vm ware way

Author: @Abdelhamed____