Using document: https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-docker
The official image: https://hub.docker.com/_/microsoft-mssql-server
Download and modify the Dockerfile:
https://github.com/microsoft/mssql-docker/blob/master/linux/preview/CentOS/Dockerfile
docker buildx build --push --platform linux/arm64,linux/amd64 --tag lufuhu/mssql:latest .
docker run -it -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=root@123456" -p 1433:1433 --name mssql -d lufuhu/mssql
Content type
Image
Digest
Size
109.8 MB
Last updated
over 4 years ago
docker pull lufuhu/mssql