Public Repository

Last pushed: 3 years ago
Short Description
PHP5 CLI client for MSSQL database
Full Description

Can be used to test the MSSQL installation quickly.

Start the MSSQL server as follows:

docker run --name mssql -p 1433:1433 -d rsmoorthy/sql2000

From any of the clients, the service is available on the port 1433, user is "sa" and empty password

To test using this image, do as follows:

docker run --rm -it --link mssql:mssql rsmoorthy/php5-mssql php /root/test.php

which displays

Array
(
    [0] => Array
        (
            [id] => 1
            [0] => 1
            [name] => hello world
            [1] => hello world
        )

)

Dockerfile at https://github.com/rsmoorthy/docker/blob/master/php5-mssql/Dockerfile

Docker Pull Command
Owner
rsmoorthy