Docker Community Forums

Share and learn in the Docker community.

Cannot connect with SQL server


(Ridleygym) #1

I tried to type that code to start SQL serve in docker
#sudo docker run -e ‘ACCEPT_EULA=Y’ -e ‘MSSQL_SA_PASSWORD=<YourStrong!Passw0rd>’
#-p 1401:1433 --name sql1
#-d microsoft/mssql-server-linux:2017-latest


Then it will show like that. No matter what kind image. It will always show the Exited.
When I tried to use Kitematic to open it,
it will show
#Dump collecting thread [7] hit exception [6]. Exiting.

Is there anyone can help to solve this problem?