docker 日记 Sql Server 的低版本不支持 TLS 1.2,只支持 TLS 1.1 修改 Dockerfile,加入如下命令: RUN sed -i 's/TLSv1.2/TLSv1.0/g' /etc/ssl/openssl.cnf 然后重新构建镜像,成功连接!