起因是镜像在互联网,而公司内网没有网络,需要跨平台转移,且系统不一样,一个Arm,一个linux。正常进行后,报错系统编译问题,特将处理过程总结一下
在 mac在pull镜像的时候需要设置参数,确保下载的镜像,可以转移到linux 系统。
在本机使用,拉取的时候会自动选择,无需额外参数
docker pull registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-online-cpu-0.1.10
未来要在Linux使用(但当前电脑是arm,非amd64)
docker pull --platform=amd64 registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-online-cpu-0.1.10
docker pull --platform=amd64 你的dockerinfo
在已有docker镜像的情况下,进行docker镜像的打包转移
1、docker 查询到镜像的repository \tag
终端黑窗口输入:docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr funasr-runtime-sdk-online-cpu-0.1.10 e80476b001ab 3 weeks ago 3.16GB
registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr funasr-runtime-sdk-cpu-0.4.5 ba82