dnmp run nginx + php + MySQL (MariaDB) on Docker Build Service $ docker-compose up Install pdo mysql $ docker-compose exec php docker-php-ext-install pdo_mysql Install mysqli $ docker-compose exec php docker-php-ext-install mysqli