Based on repo from MS:
https://github.com/Microsoft/mssql-docker/tree/master/oss-drivers/msphpsql
Notes on how to get SQL Server remote access running from a linux (ubuntu) machine
tis one has to be checked also: https://github.com/Microsoft/msphpsql/blob/PHP-7.0-Linux/LinuxTutorial.md
To create the image
docker build .
To run the image
docker run -it pyarza/msphpsql
From inside the image:
sqlcmd -S 192.168.15.203 -U py -P mypassword -q "use [2017178_SunshineCoast]; select top 5 * from dbo.locators;"
or
sqlcmd -S pmsqld-sql1 -U py -P mypassword -q "use [2017178_SunshineCoast]; select top 5 * from dbo.locators;"
Still not able to connect with a domain user. Something like:
sqlcmd -S pmsqld-sql1 -U fugropmsau/pyarza -P mypassword -q "use [2017178_SunshineCoast]; select top 5 * from dbo.locators;"
doesn't work
Content type
Image
Digest
Size
234.9 MB
Last updated
about 9 years ago
docker pull pyarza/msphpsql