Skip to content

Docker container to run sqlcmd and bcp CLI to interact with SQL Servers Database

License

Notifications You must be signed in to change notification settings

KeystoneDevBr/sqlcmd_cyberlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SqlCmd CyberLab

Quick Start

docker run --rm -it fagneftr/sqlcmd_cyberlab:latest

Interacting with MSSQL Databases

Use Cases

Atfer start runing the container, you can use the available comands: sqlcmd, bcp and ping

root@ffae2e88e9b1:/# ping -c2 10.10.10.10

root@ffae2e88e9b1:/# sqlcmd -S <IP_HOST>,<PORT> -U user -P Pass@word -d Database -C 

root@ffae2e88e9b1:/# bcp "SELECT...;" queryout table.csv -S <IP_HOST>,<PORT> -U user -P Pass@word -c -t";"

Docker Hub Repository fagneftr/sqlcmd_cyberlab

Building the Image

You can edit and recompile the image using:

docker build --file ./Dockerfile -t new_sqlcmd .

# After building you can use it 
docker run -it new_sqlcmd:latest

About

Docker container to run sqlcmd and bcp CLI to interact with SQL Servers Database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published