Sqlcmd – command line tool for Microsoft SQL Server (Docker image).
BSD-2-CLAUSE License
Sqlcmd command line tool for Microsoft SQL Server. Docker image for the new sqlcmd is also available.
When using this container you consent with the following licenses:
All other parts of this repository are licensed under BSD 2-Clause License.
Connect to an Sqlsrv inside another container (Container name is "my-sqlsrv"):
docker run -it --link my-sqlsrv:sqlsrv fabiang/sqlcmd -S sqlsrv -U sa
Or to any other server on the network:
docker run -it fabiang/sqlcmd -S some-sqlsrv -U sa
Get available options with:
docker run -it fabiang/sqlcmd '-?'