Docker镜像的导入和导出
目录
警告
本文最后更新于 2023-02-26,文中内容可能已过时。
保存镜像文件
|
|
docker image ls
:显示所有镜像NR>1
:跳过第一行newName=${name//\//\-}
: 将bitnami/kafka:3.4
的名字替换成bitnami-kafka:3.4
导入镜像文件
|
|
How to copy Docker images from one host to another without using a repository
How to Skip the First Line of a File Using awk
Replacing some characters in a string with another character