/pyodbcdock

Docker Image with support for Python 3.5 connections to MS SQL via pyODBC

Primary LanguageShell

pyodbcdock

Docker image that allows python to connect to Microsoft SQL Server (MS SQL)

Usage Instructions

Helpful references

Image Build Shortcuts

To build python dock

docker build -t <image name>[:<version tag>] .

To run a bash docker

docker run --rm -ti <image name>[:<version tag>] /sbin/my_init -- bash -l

Run a docker container and expose port 9000 in debug mode

docker run --rm -t -p 8000:80 -i <image name>[:<version tag>] /sbin/my_init -- bash -l