{"id":19624834,"url":"https://github.com/sergei-matheson/mssql-server","last_synced_at":"2026-05-01T20:33:01.134Z","repository":{"id":137991715,"uuid":"248636392","full_name":"sergei-matheson/mssql-server","owner":"sergei-matheson","description":"Dockerised MSSQL Server that allows database setup on startup.","archived":false,"fork":false,"pushed_at":"2020-03-24T00:40:40.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T19:47:55.500Z","etag":null,"topics":["docker-image","mssql","mssqlserver"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sergei-matheson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-20T00:52:02.000Z","updated_at":"2020-03-24T00:40:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"79170f64-f24a-4fe2-b88d-45100afbfdd3","html_url":"https://github.com/sergei-matheson/mssql-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sergei-matheson/mssql-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergei-matheson%2Fmssql-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergei-matheson%2Fmssql-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergei-matheson%2Fmssql-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergei-matheson%2Fmssql-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sergei-matheson","download_url":"https://codeload.github.com/sergei-matheson/mssql-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergei-matheson%2Fmssql-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32512665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker-image","mssql","mssqlserver"],"created_at":"2024-11-11T11:39:11.000Z","updated_at":"2026-05-01T20:33:01.105Z","avatar_url":"https://github.com/sergei-matheson.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MSSQL Server that allows database setup on startup.\n\nStart a mssql-server instance that creates an empty database called \"my-database\":\n\n```sh\ndocker run -e 'ACCEPT_EULA=Y' \\\n  -e 'SA_PASSWORD=yourStrong(!)Password' \\\n  -e 'DATABASE_NAME=my-database' \\\n  -p 1433:1433 -d sergeimatheson/mssql-server:latest\n```\n\nStart a mssql-server instance that runs an SQL setup file:\n\n```sh\ndocker run \\\n  -v /tmp/db-creation:/db-creation \\\n  -e 'ACCEPT_EULA=Y' \\\n  -e 'SA_PASSWORD=yourStrong(!)Password' \\\n  -e 'DATABASE_SETUP_FILE=/db-creation/schema.sql' \\\n  -p 1433:1433 -d sergeimatheson/mssql-server:latest\n```\n\nStart a mssql-server instance that creates an empty database called \"my-database\" and *then* runs an SQL setup file:\n\n```sh\ndocker run \\\n  -v /tmp/db-creation:/db-creation \\\n  -e 'ACCEPT_EULA=Y' \\\n  -e 'SA_PASSWORD=yourStrong(!)Password' \\\n  -e 'DATABASE_NAME=my-database' \\\n  -e 'DATABASE_SETUP_FILE=/db-creation/schema.sql' \\\n  -p 1433:1433 -d sergeimatheson/mssql-server:latest\n```\n\n## Configuration\n\nThis image requires Docker Engine 1.8+ in any of their supported platforms.\n\nAt least 2GB of RAM (3.25 GB prior to 2017-CU2). Make sure to assign enough memory to the Docker VM if you're running on Docker for Mac or Windows.\n\nRequires the following environment vars:\n\nACCEPT_EULA=Y\n\nSA_PASSWORD=your_strong_password\n\nThe following environment vars are optional:\n\nDATABASE_NAME=name_of_db_to_create_on_startup\n\nDATABASE_SETUP_FILE=path_to_sql_file_to_run_on_startup\n\nSee base image at [https://hub.docker.com/\\_/microsoft-mssql-server](https://hub.docker.com/_/microsoft-mssql-server) for further details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergei-matheson%2Fmssql-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergei-matheson%2Fmssql-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergei-matheson%2Fmssql-server/lists"}