Skip to content

Commit

Permalink
Merged PR 77494: Add basic README.md file
Browse files Browse the repository at this point in the history
Add basic README.md file
  • Loading branch information
rglidden committed Nov 24, 2023
1 parent 5daee6a commit c076002
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# 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 (yet) distribute an official `sqlcmd` container image, so this image is built by installing the `sqlcmd` tool
into a base Debian 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:

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

0 comments on commit c076002

Please sign in to comment.