系统:麒麟V10
处理器:飞腾2000,aarch64
原因:安装算能,TPU-mlir换进产生
官方教程地址:开发环境配置—TPU-MLIR0.7文档
股票自动交易软件,docker pull sophgo/tpuc_dev:latest
产生错误
siasun@siasun-FT-2000-4:~/股票自动交易软件,docker$ docker pull sophgo/tpuc_dev:latest
latest: Pulling from sophgo/tpuc_dev
72d9f18d70f3: Pull complete
05c84afd3b88: Extracting [==================================================>] 1.733GB/1.733GB
ef2a1795b634: Download complete
7871768de6ef: Download complete
failed to register layer: ApplyLayer exit status 1 stdout: stderr: archive/tar: invalid tar header
注册层失败:ApplyLayer退出状态1stdout:stderr:archive/tar:无效的tar头
该谬误产生起因是应用unpigz解压缩docker镜像层导致的
解决方案挪动unpigz可执行文件地位使其不解压
mv /usr/bin/unpigz /usr/bin/unpigz.bak
vim /usr/lib/systemd/system/docker.service
# 在Service的单元上面,减少这一行
[Service]
Environment="MOBY_DISABLE_PIGZ=true"
我采用的是第一种方案
再次尝试
siasun@siasun-FT-2000-4:~/docker$ docker pull sophgo/tpuc_dev:latest
latest: Pulling from sophgo/tpuc_dev
72d9f18d70f3: Pull complete
05c84afd3b88: Pull complete
ef2a1795b634: Pull complete
7871768de6ef: Pull complete
Digest: sha256:676f4ebcb792891de9190826b5b8ad8bc8fe3012c8cef087d5497ea2426ecd9c
Status: Downloaded newer image for sophgo/tpuc_dev:latest
文章为作者独立观点,不代表股票自动交易程序化数据接口观点