Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 827 Bytes

README.md

File metadata and controls

37 lines (26 loc) · 827 Bytes

Docker image for Microsoft SQL Server

This is a development image which extends the Microsoft SQL Server Docker image.

In addition to the base image it provides the option to configure the following:

Environment Variables

DB_DATABASE is setting the name of the database which gets created when the container starts.

DB_USERNAME is setting the admin user name.

DB_PASSWORD is setting the password for the adin user.

Quick start

  1. Create a docker-compose.yml file
version: "3.2"
services:
  db:
    build: .
    environment:
      SA_PASSWORD: SystemAdminPassword12345
      DB_DATABASE: dev
      DB_USERNAME: admin
      DB_PASSWORD: AdminPassword12345
    ports:
      - "1433:1433"
  1. Start the container
docker-compose up