MS-SQL server with empty db for performing tests. The db is named from environment variable DB_NAME
510
This image is a simple extension of mcr.microsoft.com/mssql/server:2017-latest. It adds three files (2x sh-script, 1x sql-script) that reads the environment variable "DB_NAME", waits for the SQL-server to start, checks if a DB with that name exists, and if not creates one.
services:
sql:
image: henrili/test_db:2017-latest
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=myPassword
- DB_NAME=myDatabaseName
ports:
- "1433:1433"
volumes:
- "dbdata:/var/opt/mssql/data"
volumes:
dbdata:
Content type
Image
Digest
Size
425.6 MB
Last updated
over 4 years ago
docker pull henrili/test_db:2017-latest