Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 840 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 840 Bytes

brocksolutions/sqlcmd

This repository contains the Dockerfile for the brocksolutions/sqlcmd container image. This image provides the latest version of Microsoft's sqlcmd (Go) tool.

Microsoft does not currently distribute an official sqlcmd container image, so this image simply bundles the sqlcmd file into a minimal container image.

Available Tags

latest - The latest version of the container. 1.5.0.x - A specific build of the image.

Running the Container

The entrypoint in the container is set to the /usr/bin/sqlcmd. This means you can run the container in the same way you would run the sqlcmd tool locally, and simply pass in any additional parameters you amy need. For example:

docker run --rm brocksolutions/sqlcmd:latest -S myserver -U myuser -P mypassword -Q "SELECT @@VERSION"