sql serve linux docker

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


docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=<YourStrong@Passw0rd>"  -p 1433:1433 --name sql1 --hostname sql1    -d  mcr.microsoft.com/mssql/server:2022-latest


from: https://learn.microsoft.com/en-us/sql/linux/quickstart-install-connect-docker?view=sql-server-ver16&pivots=cs1-bash

posted @ 2022-12-12 13:24  张保维  阅读(16)  评论(0编辑  收藏  举报