$ docker save --output mssql-docker-image.tar mcr.microsoft.com/mssql/server $ ls mssql-docker-image.tar
将此镜像文件copy到没有网络的环境下,然后load
1
$ docker load --input mssql-docker-image.tar
看看是否load成功
1 2 3 4
$ docker image ls REPOSITORY TAG IMAGE ID CREATED SIZE docker.io/postgres 10.11 8007341bd20e 11 days ago 250 MB mcr.microsoft.com/mssql/server 2017-latest a4b86c4000e7 5 weeks ago 1.4 GB