Images based on MSSQL Server, but with the possibility to add your own setup script
446
This image is based on the standard mssql-server of Microsoft. This image adds the ability to mount a setup script, which will be executed on startup of the container.
This image can be used just like the standard mssql-server image. For an overview of all the possibilities, go check out the documentation by Microsoft. There are however a few minor differences:
SA_PASSWORD does not work, yYou have to use the MSSQL_SA_PASSWORD environment variable instead./usr/config/setup.sql.To use this image, we can use it like the following in the Docker compose file:
database:
image: mypoiworld/mssql-server:2022-CU20-ubuntu-22.04
environment:
- ACCEPT_EULA=Y
- MSSQL_SA_PASSWORD=Str0ngPassw0rd!
ports:
- "1433:1433"
volumes:
- "./sqldata/data:/var/opt/mssql/data"
- "./sqldata/logs:/var/opt/mssql/logs"
- "./sqldata/secrets:/var/opt/mssql/secrets"
- "./setup.sql:/usr/config/setup.sql"
Content type
Image
Digest
sha256:cc22d9c72…
Size
550.2 MB
Last updated
10 months ago
docker pull mypoiworld/mssql-server:2022-latest