sql server已经支持在linux中安装了。最简单的方式还是使用docker, 今天我就带大家来,体验一下使用docker来安装sql server。超爽!!!
一、使用docker下载并配置sql server
linux:
[root@bogon ~]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
[root@bogon ~]# file /bin/ls
/bin/ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=c5ad78cfc1de12b9bb6829207cececb990b3e987, stripped
docker:
[root@bogon ~]# docker -v
Docker version 1.13.1, build 6e3bb8e/1.13.1
1、搜索docker镜像
[root@bogon ~]# docker search mssql-server
2、载ms-sqlserver镜像
[root@bogon ~]# docker pull microsoft/mssql-server-linu