您的位置:首页 > 娱乐 > 明星 > 网推方案_甘肃省建设厅官网网址_域名ip查询_seo排名哪家正规

网推方案_甘肃省建设厅官网网址_域名ip查询_seo排名哪家正规

2025/5/6 0:11:12 来源:https://blog.csdn.net/hidxl/article/details/145647396  浏览:    关键词:网推方案_甘肃省建设厅官网网址_域名ip查询_seo排名哪家正规
网推方案_甘肃省建设厅官网网址_域名ip查询_seo排名哪家正规

背景:打了个镜像包,挂载了多个卷,然后又生成了另外的镜像,结果到生产环境,不允许用卷,会出权限错误,重新打包费老鼻劲了,找了个工具
docker-copyedit 来解决这个问题.

docker-copyedit的地址为

git clone https://github.com/gdraheim/docker-copyedit.git

另外一个大神已经有详细的介绍:

https://blog.csdn.net/weixin_32246721/article/details/112287759

以下为命令帮助输出:
Usage: docker-copyedit.py input-image output-image [commands…]

Options:
-h, --help show this help message and exit
-v, --verbose increase logging level [0]
-^, --quiet less logging infos
-T DIR, --tmpdir=DIR use this base temp dir %s [load.tmp]
-D EXE, --docker=EXE use another docker container tool %s [docker]
-P EXE, --podman=EXE change the alternative container tool [podman]
-G EXE, --tar=EXE use another gnu-ish tar tool %s [tar]
-k, --keepdir keep the unpacked dirs [0]
-z, --dryrun only run logic, do not change anything [False]
–with-null=name specify the special value for disable [NULL]
-c NAME=VAL, --config=NAME=VAL
…override internal variables (MAX_PATH) {[]}

edit docker image metadata (including remove docker volume settings)
/ use --docker=podman to switch the images list to work on.
/ try docker-copyedit.py FROM image1 INTO image2 REMOVE ALL VOLUMES

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com