Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Persist Data to Host Directory of Docker Volume #3

Open
SteveFarmerJr opened this issue Aug 30, 2019 · 2 comments
Open

Cannot Persist Data to Host Directory of Docker Volume #3

SteveFarmerJr opened this issue Aug 30, 2019 · 2 comments

Comments

@SteveFarmerJr
Copy link

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

@SteveFarmerJr SteveFarmerJr changed the title Persist Data Cannot Persist Data to Host Directory of Docker Volume Aug 30, 2019
@justin2004
Copy link
Owner

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.

@holmesian
Copy link

holmesian commented Jan 16, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants