Skip to content

Modern command line tool written in Go for Microsoft SQL Server as Docker image

License

Notifications You must be signed in to change notification settings

fabiang/docker-go-sqlcmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fabian/go-sqlcmd

Sqlcmd – Modern command line tool written in Go for Microsoft SQL Server.
Docker image for old sqlcmd is also available.

fabiang/go-sqlcmd fabiang/go-sqlcmd Docker Image

Available tags

  • 1.x.0, 1.x.0-alpine, 1.x, 1.x-alpine, 1, 1-alpine, latest, latest-alpine

See Docker Hub page for all available tags.

License

All other parts of the library are licensed under BSD 2-Clause License.

Usage

Connect to an Sqlsrv inside another container (Container name is "my-sqlsrv"):

docker run -it --link my-sqlsrv:sqlsrv \
    -e SQLCMDPASSWORD='yourStrong(!)Password' \
    fabiang/go-sqlcmd -S sqlsrv -U sa

Or to any other server on the network:

docker run -it fabiang/go-sqlcmd -S some-sqlsrv -U sa

Get available options with:

docker run -it fabiang/go-sqlcmd '-?'

About

Modern command line tool written in Go for Microsoft SQL Server as Docker image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published