docker run --rm -it fagneftr/sqlcmd_cyberlab:latestAtfer 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
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
