Sqlcmd – command line tool for Microsoft SQL Server.
Docker image for the new sqlcmd is also available.
- 18.4.1.1-1-ubuntu24.04, 18.4.1.1-1, 18.4-ubuntu, 18.4, 18-ubuntu, 18, latest-ubuntu, latest
- 18.2.1.1-1-ubuntu22.04, 18.2.1.1-1, 18.2-ubuntu, 18.2,
- 17.10.1.1-1-ubuntu22.04, 17.10.1.1-1, 17.10-ubuntu, 17.10, 17-ubuntu, 17
- 17.4.1.1-1-ubuntu18.04, 17.4.1.1-1, 17.4-ubuntu, 17.4
When using this container you consent with the following licenses:
- MICROSOFT COMMAND LINE UTILITIES FOR SQL SERVER-UBUNTU LINUX
- MICROSOFT ODBC DRIVER 17 FOR SQL SERVER when using version 17.x of this Docker image
- MICROSOFT ODBC DRIVER 18 FOR SQL SERVER when using version 18.x of this Docker image
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 '-?'