Skip to content

jeggy/docker-mssql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Microsoft SQL Server Docker image

This image is inspired by: microsoft/mssql-docker#11 (comment)

run docker run -it --rm jeggy/mssql

All SQL scripts loaded in /scripts/ will be executed on every boot.

Example docker-compose file:

version: '3.6'

services:
  mssql:
    image: jeggy/mssql
    volumes:
      - mssql_data:/var/opt/mssql
      - ./sqls:/scripts/  # Will execute all SQL scripts within this directory
    environment:
      ACCEPT_EULA: Y
      SA_PASSWORD: LongPassword@Developer
      ON_START_SQL: 'CREATE DATABASE CUSTOM_DB;' # Will execute this upon every boot
    ports:
      - 4444:1433

volumes:
  mssql_data:

About

A Linux MSSQL Docker image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published