Hi@akhtar,
This error may occurred because “PHP mysqli plugin” is missing inside PHP’s Docker container. To install it, use the below given command inside PHP's container.
$ docker-php-ext-install mysqli
$ docker-php-ext-enable mysqli
Hope this will help.