PHP 7.0 runtime with pdo_sqlsrv drivers to connect to SQL Server on multi-platform.
5.6K
Using an Ubuntu 16.04 layer, this image provides a PHP runtime to connect to SQL Server through the use of pdo_sqlsrvr. This image can accept contributions to improve its performance and functionality.
Microsoft/mssql-docker - php-mssql Dockerfile (0.1)
Extend this image in a Dockerfile to add and execute your code:
FROM lbosqmsft/php-mssql
ADD . .
CMD your_code.php
You can also mount a volume with your code and pass the php parameter in the docker run command:
docker run -v /path/to/your/code:/ lbosqmsft/php-mssql php your_code.php
Content type
Image
Digest
Size
190.6 MB
Last updated
over 9 years ago
docker pull lbosqmsft/php-mssql