-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged PR 77494: Add basic README.md file
Add basic README.md file
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
``` |