Docker从本地加载镜像


 description

从本地路径test镜像

 command

docker load -i test.tar

 parameter

load :  从 tar 存档或 STDIN 加载图像
-i, --input :  string 从 tar 存档文件中读取

 result

8cd8a8f5ec61: Loading layer [==================================================>]  10.24MB/10.24MB
c88b96c802b7: Loading layer [==================================================>]  2.048kB/2.048kB
3ed2d2a6d013: Loading layer [==================================================>]  111.2MB/111.2MB
Loaded image: test:latest
Was this helpful?

I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.