Adding php modules to required by Moodle


I recently installed EE v4 to install Moodle, but the version 3.7
requires the following additional modules xmlrpc / intl

I tried the following command but it didn’t work and the Moodle installer keeps showing the same error message. Any suggestion?
ee shell moodle.test --command=‘docker-php-ext-install xmlrpc’ --user=root