gpt4 book ai didi

docker - 由于 “Couldn' t卸载前运行auplink而无法进行docker构建”错误

转载 作者:行者123 更新时间:2023-12-02 18:39:59 27 4
gpt4 key购买 nike

当我运行docker build时,我得到了:

Sending build context to Docker daemon  10.24kB
WARN[11935] Couldn't run auplink before unmount /var/lib/docker/aufs/mnt/21647778a50f097d4535246ec5206960dd909f4bb8b0e3d04fdd53a7402fc2de-init: exec: "auplink": executable file not found in $PATH
Step 1/2 : FROM debian:jessie
---> 86baf4e8cde9
Step 2/2 : RUN apt-get update
WARN[11935] Couldn't run auplink before unmount /var/lib/docker/aufs/mnt/21647778a50f097d4535246ec5206960dd909f4bb8b0e3d04fdd53a7402fc2de: exec: "auplink": executable file not found in $PATH
---> Running in 1fef9bef5bf7
ERRO[11934] containerd: start container error="shim error: fork/exec /usr/bin/docker-runc: exec format error" id=1fef9bef5bf77141a97669d2aa785e74f9027a849919a937f714e93fbae3916d
ERRO[11935] Create container failed with error: shim error: fork/exec /usr/bin/docker-runc: exec format error
ERRO[11934] containerd: deleting container error="fork/exec /usr/bin/docker-runc: exec format error: \"\""
WARN[11935] Couldn't run auplink before unmount /var/lib/docker/aufs/mnt/21647778a50f097d4535246ec5206960dd909f4bb8b0e3d04fdd53a7402fc2de: exec: "auplink": executable file not found in $PATH
shim error: fork/exec /usr/bin/docker-runc: exec format error

这是我的Dockerfile的内容:
FROM debian:jessie

RUN apt-get update

有什么问题这对我没有任何意义。
ll /usr/bin | grep docker
-rwxr-xr-x 1 root root 18471276 Aug 3 22:08 docker*
-rwxr-xr-x 1 root root 9938352 Aug 3 22:08 docker-containerd*
-rwxr-xr-x 1 root root 8941944 Aug 3 22:08 docker-containerd-ctr*
-rwxr-xr-x 1 root root 3824920 Aug 3 22:08 docker-containerd-shim*
-rwxr-xr-x 1 root root 40328816 Aug 3 22:08 dockerd*
-rwxr-xr-x 1 root root 0 Aug 3 22:08 docker-init*
-rwxr-xr-x 1 root root 0 Aug 3 22:08 docker-proxy*
-rwxr-xr-x 1 root root 0 Aug 3 22:08 docker-runc*
-rwxr-xr-x 1 root root 8962864 Aug 3 21:40 docker-volume-local-persist*

https://docs.docker.com/engine/installation/linux/docker-ce/binaries/安装
file $(which docker-runc):
/usr/bin/docker-runc: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=e3d80e183baf26a9d48c3f0435931d42aa1bf340, not stripped

lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty

docker -版本
Docker version 17.06.0-ce, build 02c1d87

dockerd-版本
Docker version 17.06.0-ce, build 02c1d87

docker-containerd --version
containerd version 0.2.3 commit: cfb82a876ecc11b5ca0977d1733adbe58599088a

docker-containerd-ctr-版本
ctr version 0.2.3 commit: cfb82a876ecc11b5ca0977d1733adbe58599088a

docker-init --version
tini version 0.13.0 - git.949e6fa

docker-runc-版本
runc version 1.0.0-rc3
commit: 2d41c047c83e09a6d61d464906feb2a2f3c52aa4
spec: 1.0.0-rc5

最佳答案

这可以在非Intel / ARM 64位Ubuntu上运行吗?例如Raspberry Pi或ARM64 CPU?这个错误:
shim error: fork/exec /usr/bin/docker-runc: exec format error

可能意味着(a)计算机上的二进制安装以某种方式损坏,或者(b)您试图为系统上的其他体系结构运行二进制文件。

您可以发布uname -afile /usr/bin/docker-runc的输出吗?这可能有助于缩小问题的根源。

关于docker - 由于 “Couldn' t卸载前运行auplink而无法进行docker构建”错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45537948/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com