Public | Automated Build

Last pushed: 2 months ago
Short Description
Extended version of the official Microsoft image to allow for initialization of database instances.
Full Description


This is the git repo of the custom genschsa/mssql-server-linux Docker image.

This image is an extension of the official microsoft/mssql-server-linux Docker image

It adds functionality to initialize a fresh instance. When a container is started for the first time, it will execute any files with extensions .sh or .sql that are found in /docker-entrypoint-initdb.d. Files will be executed in alphabetical order. You can easily populate your SQL Server services by mounting scripts into that directory and provide custom images with contributed data.

Running this image

docker run -p 1433:1433 --name mssql -e 'ACCEPT_EULA=Y' -e 'MSSQL_SA_PASSWORD=Strong(!)Password' -v $PWD/initdb.d:/docker-entrypoint-initdb.d -d genschsa/mssql-server-linux

Additional information:

Docker Pull Command