描述
从tarball导入内容以创建文件系统映像
用法
docker image import [OPTIONS] file|URL|- [REPOSITORY[:TAG]]
选项
| 名字,速记 | 默认 | 描述 |
--change , -c | Apply Dockerfile instruction to the created image -----将Dockerfile指令应用于创建的映像 | |
--message , -m | Set commit message for imported image -----为导入的图像设置提交消息 | |
--platform | experimental (daemon)API 1.32+ Set platform if server is multi-platform capable -----如果服务器具有多平台功能,则设置平台 |
Docker导入文件系统映像
本文介绍如何使用Docker的image import命令从tarball文件导入内容以创建新的文件系统映像。文中详细解释了该命令的用法,包括各种选项如--change, --message和--platform的作用。
6894

被折叠的 条评论
为什么被折叠?



