安装 docker pull mcr.microsoft.com/mssql/server:2017-latest 启动 docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=wjl@135246" -p 1433:1433 -m 4000M --memory 4000M --name sqlserver -d mcr.microsoft.com/mssql/server:2017-latest 远程链接即可 参考 https://blog.csdn.net/SmileSunshines/article/details/134807201