Sign inSign up

philnc/mssqlsrv

By philnc

•Updated over 8 years ago

Microsoft SQL Server 2017 for Linux, Modified

Image
0

62

philnc/mssqlsrv repository overview

My own image for Microsoft SQL Server 2017 for Linux, modified from the official image: microsoft/mssql-server-linux:2017-latest. Not recommended for anyone else.

Documentation from Microsoft on using their image:

https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-docker⁠

My docker run script:

docker run --name 'mssqlsrv' \
-e 'ACCEPT_EULA=Y' \
-e 'SA_PASSWORD=Str0ngpa$word' \
-p 1433:1433 \
-v mssqlvolume:/var/opt/mssql \
-d microsoft/mssql-server-linux:2017-latest

It's a good idea to use a docker storage volume to persist data over restarts, etcetera (-v volumename:/var/opt/mssql).

Remember to allow port 1433/tcp through any host firewall if you want to manage the server from another host.

NOTE: That's not the password I generally set, but an example of one that will pass Microsoft's security profile checks.

Tag summary

Content type

Image

Digest

Size

449.1 MB

Last updated

over 8 years ago

docker pull philnc/mssqlsrv:1.0