justin2004/mssql_server_tiny

Cannot Persist Data to Host Directory of Docker Volume

SteveFarmerJr opened this issue · 2 comments

Hello - having trouble persisting data with this nifty build as a linux container on Windows Server Host.
I've tried mapping to a windows directory, as well as a volume created with Docker. (e.g.):

docker run --memory=2G -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=*********" -p 1433:1433 -v F:\SQLROOT:/var/opt/mssql --name sqldb -d justin2004/mssql_server_tiny

The container crashes out with the following error.

This program has encountered a fatal error and cannot continue running at Fri Aug 30 13:44:49 2019
The following diagnostic information is available:

   Reason: 0x00000006
  Message: Kernel bug check
  Address: 0x6be47230

Parameters: 0x10861f670
Stack Trace:
000000006bf32f12
000000006be4728b
000000006be34126
000000006be42cb2
000000006bf31240
000000006bf2fbc9
000000006bf733f1
Process: 8 - sqlservr
Thread: 12 (application thread 0x4)
Instance Id: b3663cb9-6939-4fd8-841e-6e1c083cb385
Crash Id: 90768f61-711d-4e46-b449-abc9d30e9b18
Build stamp: 6a405dcedd411942c879f001e943cd731ae3fa28b55f3d29fc3c2c88dcc1f7d5
Distribution: Ubuntu 16.04.6 LTS
Processors: 2
Total Memory: 1019420672 bytes
Timestamp: Fri Aug 30 13:44:49 2019

hey,
i don't have a windows host with docker installed handy to test this but could you try:

docker run --memory=2G  -p 1433:1433 -v F:\SQLROOT:/var/opt/mssql --name sqldb -d debian echo lala

i just want to rule out a few things.

Maybe you should try:

docker run --memory=2G -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=*********" -p 1433:1433 -v F:\SQLROOT:/var/opt/mssql/data --name sqldb -d justin2004/mssql_server_tiny