我的开发设置是Linuxdocker container上的AspNetCore Webapi 3.1 (从Windows 10上的Visual Studio 2019运行,机器名为DELL, 192.168.0.141它成功地连接到了Azure/AWS公共数据库,但是在主机上安装了SQLSever却失败了。Verify that the instance name is correct and that
如何告诉mac上的docker将主机网络用于各种用途,以便我的停靠容器可以通过localhost或127.0.0.1连接到主机上运行的任何服务?Ran docker run --net=host -it myimage和容器无法通过本地主机连接到主机上运行的任何东西。我被拒绝了连接错误。docker version Version: 18.03.1-ce