Created
March 6, 2017 21:02
-
-
Save mystygage/b41bbfceeeb6dc8ab0f160485186061c to your computer and use it in GitHub Desktop.
Microsoft SQL Server in Docker with data volume
This file contains 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: | |
- "1433:1433" | |
volumes: | |
mssql-server-linux-data: |
Thanks
Good one, Sir!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice, thank you a lot!