Created
January 24, 2021 16:05
-
-
Save semihkeskindev/9e7aabe4f84c31c9471922b9bbccd0ee to your computer and use it in GitHub Desktop.
MsSQL (Microsoft SQL Server) Docker Compose File
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
mssql-server-linux: | |
image: microsoft/mssql-server-linux:latest | |
volumes: | |
- mssql-server-linux-data:/var/opt/mssql/data | |
environment: | |
- ACCEPT_EULA=Y | |
- SA_PASSWORD=${SQLSERVER_SA_PASSWORD:-yourStrong(!)Password} | |
ports: | |
- "14333:1433" | |
volumes: | |
mssql-server-linux-data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
on MsSQL, user password has to provide some conditions (contain special char, upper/lower case etc.). you cannot define password something like "123456789" or "root". FYI