MSSQL image that can be easily extended to load schema and data on startup.
1.1K
mssql image that can be easily extended to load schema and data on startup.
Based on an original mssql image for Linux.
docker build -t mssql:latest .
We inherit the same configuration from mssql
that is provided by the original image from Microsoft:
ACCEPT_EULA=Y env var, otherwise your container will not workSA_PASSWORD=YOUR_PASSWORD env var to set sa user's passwordWe also provide a volume with scripts (./scripts) to be extended later:
./scripts/schema.sql contains schema definition file./scripts/data.sql contains your data that should be inserted on startupThey are both empty by default.
To customize these files use volumes:
docker run -v ./your/custom/scripts:/code/scripts -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=MyStrongPassword1' -p 1433:1433 -d mssql
See docker-compose.yml for a service example.
MIT.
Content type
Image
Digest
Size
425.7 MB
Last updated
about 7 years ago
docker pull sobolevn/mssql-linux-friendly