I am trying to setup MSSQL for my macOS and can't get the docker image to load and create a container. I have downloaded Docker and have it up and running
Downloaded:
docker pull microsoft/mssql-server-linux
Then run via Terminal:
docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=<my password here> -e
'MSSQL_PID=Express' -p 1433:1433 -d microsoft/mssql-server-
linux:latest
I then run
docker ps
and receive, with no data
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
I am not sure where the issue occurring
Troubleshooting
-d
command to launch the instance in attached mode. docker ps -a
give you the stopped containers docker logs $stoppedContainerId
give you the logs of a container How to resolve
Well I tried by myself and I checked the logs >
2018-06-05 21:54:28.38 spid21s ERROR: Unable to set system administrator password: Password validation failed. The password does not meet SQL Server password policy requirements because it is too short. The password must be at least 8 characters..
I assume you have the same problem because it's working with a strong password.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.