Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linux sql server Docker stops after few seconds

This is the command I execute but the container just stop after few seconds: docker run -it -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=dockermssql" -p 1433:1433 -v sqlvlm:/var/opt/mssql --name sql1 -d microsoft/mssql-server-linux

like image 618
Ricardo Villagrana Avatar asked Apr 14 '18 19:04

Ricardo Villagrana


1 Answers

Your password (e.g. dockermssql) doesn't meet the complexity requirements. So try adding a non-alphanumeric characters such as exclamation point (!).

To check for errors, run: docker logs ID (where ID is container ID from docker ps), or run container without -d.

like image 91
kenorb Avatar answered Sep 22 '22 19:09

kenorb