Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker Keep Exiting (Deploying MS SQL on MAC osx)

I'm trying to deploy an MS SQL server on my MAC. There are several alternatives for that.

Here, I'm using docker: I've checked the MS-SQL website, and I executed this code:

docker run -e 
'ACCEPT_EULA=Y' 
-e 'SA_PASSWORD=<YourStrong!Passw0rd>' -p 1433:1433 
-d microsoft/mssql-server-linux

However, The container keeps stopping by itself. Did I miss something here?

enter image description here

The docker Version I'm using: Version 1.13.0 (15072)

like image 524
Saber Alex Avatar asked Jan 20 '17 13:01

Saber Alex


Video Answer


2 Answers

I had a similar problem. I finally realized the issue was that I was using a dummy password for local dev that didn't adhere to SQL Server's password policy. I used a more complex password and that fixed it up.

like image 189
Mike Pennington Avatar answered Sep 22 '22 11:09

Mike Pennington


I faced this issue recently on Windows. Changing the ' quotes to " fixed the issue.

like image 36
betelgeuce Avatar answered Sep 19 '22 11:09

betelgeuce