Skip to content
Advertisement

Tag: sql-server

How can I install MSSQL Server in a Python Docker image?

I want to install MSSQL Server in a Python docker container to be able to run unit tests in a CI pipeline. The problem is that the installation keeps failing. How can I fix it? What I’ve tried This gives: Try 2 gives Answer The second example should be: Microsoft doesn’t document it anywhere, but this image contains two users

Unable to bind mount a Windows folder in a Linux SQL Server docker image

I’m trying to run the docker image mcr.microsoft.com/mssql/server:2019-latest on a windows host. When running this command line, everything works fine: When I try to bind mount the /var/opt/mssql/data folder to access it’s content from my windows host, I get the following error: It looks like this issue: https://support.microsoft.com/en-us/help/4212960/fix-sql-server-2017-won-t-start-with-linux-container-image-on-docker Which is supposed to be fixed. But I tried with several version

How do I install a SQL Server Java driver into a linux docker container?

The docker image definition below does not contain according to the documentation a SQL Server driver. How can I install it? Documentation: https://github.com/camunda/docker-camunda-bpm-platform Docker File Answer I was able to make it work after several days. Steps Download JDBC Driver from Microsoft Site, Version 7.2, it will include 2 JAR FILES Uncompress, and copy the file into your docker folder

Advertisement