Error: messages are only compatible with the docker image format (-f docker)
一.过程介绍
在使用docker commit从容器创建一个新的镜像的时候,一直提示命令不符合docker镜像的格式。
根据提示将语句修改为
podman commit -a "com.manu" -m "first docker image" -f docker 85f05b47ea9d manu/mycentos:1.01
这个时候又显示了一个Error提示,并且commit成功了
二.原因
查询了一下这是由于我操作系统是centos8版本的,其默认的容器...
原创
2021-02-20 09:36:57 ·
1077 阅读 ·
0 评论