/mssql-tools-alpine

A mssql-tools image alternative using Alpine

Primary LanguageDockerfile

MSSQL Tools with Alpine

Looking for a minimalistic SQLCMD (mssql-tools) container image? mssql-tools-alpine is definitively a very good alternative.

This image size is ~17 MB, providing you the portability and agility you need to run queries using SQLCMD on the fly.

Examples

Image build

docker build . -t mssql-tools-alpine

Checking SQLCMD help

docker container run --rm -it mssql-tools-alpine sqlcmd -?

Using SQLCMD through local network

docker container run -it --network host mssql-alpine sqlcmd -S <HOSTNAME|PORT> -U <USER> -P <PASSWORD>

Questions?

If you have questions or comments about this demo, don't hesitate to contact me at crobles@dbamastery.com

Follow me

N|Solid N|Solid N|Solid N|Solid