描述
从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 -----如果服务器具有多平台功能,则设置平台 |