Docker 安装 sqlserver


apt install docker.io

docker pull mcr.microsoft.com/mssql/server:2017-latest

docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=aA123456" -p 1433:1433 -v/var:/var --name sqlserver -d mcr.microsoft.com/mssql/server:2017-latest