Public | Automated Build

Last pushed: a year ago
Short Description
Microsoft SQL Server running on Fedora. You must pass ACCEPT_EULA and SA_PASSWORD env vars.
Full Description


Microsoft SQL Server running in a Fedora container

Docker Pull Command
Source Repository

Comments (1)
a year ago

Hi there,
I am running docker from Mac, after running this container I am getting this error:
�2016-11-25 14:24:04.13 Server Microsoft SQL Server vNext (CTP1) - (X64)
Nov 1 2016 23:24:39
Copyright (c) Microsoft Corporation
on Linux (Fedora 25 (Twenty Five))
2016-11-25 14:24:04.13 Server UTC adjustment: 0:00
2016-11-25 14:24:04.14 Server (c) Microsoft Corporation.
2016-11-25 14:24:04.14 Server All rights reserved.
2016-11-25 14:24:04.14 Server Server process ID is 4116.
2016-11-25 14:24:04.14 Server Logging SQL Server messages in file 'C:\var\opt\mssql\log\errorlog'.
2016-11-25 14:24:04.15 Server Registry startup parameters:
-d C:\var\opt\mssql\data\master.mdf
-l C:\var\opt\mssql\data\mastlog.ldf
-e C:\var\opt\mssql\log\errorlog
2016-11-25 14:24:04.21 Server Error: 17113, Severity: 16, State: 1.
2016-11-25 14:24:04.21 Server Error 2(The system cannot find the file specified.) occurred while opening file 'C:\var\opt\mssql\data\master.mdf' to obtain configuration information at startup. An invalid startup option might have caused the error. Verify your startup options, and correct or remove them if necessary.
2016-11-25 14:24:04.23 Server SQL Server shutdown has been initiated

this is the command I ran:
docker run -d -t -p 1433:1433 -v $DATADIR:/var/opt/mssql/data:rw,z -v $LOGDIR:/var/opt/mssql/log:rw,z -e ACCEPT_EULA=YES -e SA_PASSWORD=$SA_PASSWORD langdon/fedora-mssqlserver

Can anybody please help me correct this?