Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabiang/docker-sqlcmd
Sqlcmd – command line tool for Microsoft SQL Server (Docker image).
https://github.com/fabiang/docker-sqlcmd
docker docker-container docker-image docker-images microsoft-sql-server mssql sql-server sqlcmd sqlserver
Last synced: 3 months ago
JSON representation
Sqlcmd – command line tool for Microsoft SQL Server (Docker image).
- Host: GitHub
- URL: https://github.com/fabiang/docker-sqlcmd
- Owner: fabiang
- License: bsd-2-clause
- Created: 2017-01-12T14:47:37.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2023-09-22T09:07:31.000Z (over 1 year ago)
- Last Synced: 2024-09-29T14:40:57.376Z (4 months ago)
- Topics: docker, docker-container, docker-image, docker-images, microsoft-sql-server, mssql, sql-server, sqlcmd, sqlserver
- Language: Dockerfile
- Homepage:
- Size: 19.5 KB
- Stars: 8
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# fabiang/sqlcmd
Sqlcmd – command line tool for Microsoft SQL Server.
[Docker image for the new sqlcmd is also available](https://github.com/fabiang/docker-go-sqlcmd).[![fabiang/sqlcmd](https://img.shields.io/docker/pulls/fabiang/sqlcmd.svg)](https://hub.docker.com/r/fabiang/sqlcmd)
[![fabiang/sqlcmd](https://badgen.net/github/license/fabiang/docker-sqlcmd)](https://github.com/fabiang/docker-sqlcmd)
[![Docker Image](https://github.com/fabiang/docker-sqlcmd/actions/workflows/docker.yml/badge.svg)](https://github.com/fabiang/docker-sqlcmd/actions/workflows/docker.yml)## Available tags
* 18.2.1.1-1-ubuntu22.04, 18.2.1.1-1, 18.2-ubuntu, 18.2, 18-ubuntu, 18, latest-ubuntu, latest
* 17.10.1.1-1-ubuntu22.04, 17.10.1.1-1, 17.10-ubuntu, 17.10, 17-ubuntu, 17
* 17.4.1.1-1-ubuntu18.04, 17.4.1.1-1, 17.4-ubuntu, 17.4## License
When using this container you consent with the following licenses:
- [MICROSOFT COMMAND LINE UTILITIES FOR SQL SERVER-UBUNTU LINUX](http://go.microsoft.com/fwlink/?LinkId=746949)
- [MICROSOFT ODBC DRIVER 17 FOR SQL SERVER](licenses/msodbcsql17/LICENSE.txt) when using version 17.x of this Docker image
- [MICROSOFT ODBC DRIVER 18 FOR SQL SERVER](licenses/msodbcsql18/LICENSE.txt) when using version 18.x of this Docker imageAll other parts of this repository are licensed under [BSD 2-Clause License](LICENSE.md).
## Usage
Connect to an Sqlsrv inside another container (Container name is "my-sqlsrv"):
```bash
docker run -it --link my-sqlsrv:sqlsrv fabiang/sqlcmd -S sqlsrv -U sa
```Or to any other server on the network:
```bash
docker run -it fabiang/sqlcmd -S some-sqlsrv -U sa
```Get available options with:
```bash
docker run -it fabiang/sqlcmd '-?'
```