gpt4 book ai didi

docker - Docker 1.6.2: “System error: no such device”启动hello-world镜像时

转载 作者:行者123 更新时间:2023-12-02 20:01:39 28 4
gpt4 key购买 nike

我正在尝试在arm32v7目标(内核3.10.17)上启用docker。我在内核(AUFS,cgroup ..)端启用了所需的组件,但是当我尝试运行Hello-world镜像以测试docker集成时,出现此错误:
docker运行hello-world
FATA [0000]来自守护程序的错误响应:

Cannot start container ea3a71d1025ac733ebb9214045cdaffebfb0d8fb434c7a8bd83cdb93e4d7f5b9: [8] System error: no such device


有人可以帮忙吗?
先感谢您 !
这是docker版本和信息:
docker 版本
客户端版本:1.6.2
客户端API版本:1.18
Go版本(客户端):go1.3
Git提交(客户端):7c8fca2-dirty
OS / Arch(客户端):linux / arm
服务器版本:1.6.2
服务器API版本:1.18
Go版本(服务器):go1.3
Git提交(服务器):7c8fca2-dirty
操作系统/存档(服务器):linux / arm
docker 信息
货柜:1
图片:2
存储驱动程序:aufs
根目录:/ var / lib / docker / aufs
支持文件系统:tmpfs
异常:4
Dirperm1支持:true
执行驱动程序:native-0.2
内核版本:3.10.17-rt12 + pamela-dual-lite-04.09.03 + g46a870e
操作系统:
CPU:1
总内存:497.2 MiB
名称:xxxxxxx
ID:QT4I:2EDK:MIRS:HV75:4JOW:PRAC:NS2F:JTAD:TQ7P:6MOO:O6VP:NM4K
警告:不支持交换限制
这里记录:

docker[4661]: time="2018-10-31T15:41:35Z" level=info msg="-job log(start, ea3a71d1025ac733ebb9214045cdaffebfb0d8fb434c7a8bd83cdb93e4d7f5b9, hello-world:latest) = OK (0)"

systemd[1]: Starting docker container ea3a71d1025ac733ebb9214045cdaffebfb0d8fb434c7a8bd83cdb93e4d7f5b9.
systemd[1]: Started docker container ea3a71d1025ac733ebb9214045cdaffebfb0d8fb434c7a8bd83cdb93e4d7f5b9.
kernel: device vethe9ae91c entered promiscuous mode
kernel: IPv6: ADDRCONF(NETDEV_UP): vethe9ae91c: link is not ready
kernel: IPv6: ADDRCONF(NETDEV_CHANGE): vethe9ae91c: link becomes ready
kernel: docker0: port 1(vethe9ae91c) entered forwarding state
docker0: port 1(vethe9ae91c) entered forwarding state
docker[4661]: time="2018-10-31T15:41:35Z" level=warning msg="signal: killed"
kernel: docker0: port 1(vethe9ae91c) entered disabled state
kernel: device vethe9ae91c left promiscuous mode
kernel: docker0: port 1(vethe9ae91c) entered disabled state
docker[4661]: time="2018-10-31T15:41:35Z" level=info msg="+job release_interface(ea3a71d1025ac733ebb9214045cdaffebfb0d8fb434c7a8bd83cdb93e4d7f5b9)"
docker[4661]: time="2018-10-31T15:41:35Z" level=info msg="-job release_interface(ea3a71d1025ac733ebb9214045cdaffebfb0d8fb434c7a8bd83cdb93e4d7f5b9) = OK (0)"
docker[4661]: time="2018-10-31T15:41:35Z" level=info msg="-job attach(ea3a71d1025ac733ebb9214045cdaffebfb0d8fb434c7a8bd83cdb93e4d7f5b9) = OK (0)"
docker[4661]: time="2018-10-31T15:41:35Z" level=info msg="+job release_interface(ea3a71d1025ac733ebb9214045cdaffebfb0d8fb434c7a8bd83cdb93e4d7f5b9)"
docker[4661]: time="2018-10-31T15:41:35Z" level=info msg="-job release_interface(ea3a71d1025ac733ebb9214045cdaffebfb0d8fb434c7a8bd83cdb93e4d7f5b9) = OK (0)"
docker[4661]: time="2018-10-31T15:41:35Z" level=info msg="+job log(die, ea3a71d1025ac733ebb9214045cdaffebfb0d8fb434c7a8bd83cdb93e4d7f5b9, hello-world:latest)"
docker[4661]: time="2018-10-31T15:41:35Z" level=info msg="-job log(die, ea3a71d1025ac733ebb9214045cdaffebfb0d8fb434c7a8bd83cdb93e4d7f5b9, hello-world:latest) = OK (0)"
docker[4661]: Cannot start container ea3a71d1025ac733ebb9214045cdaffebfb0d8fb434c7a8bd83cdb93e4d7f5b9: [8] System error: no such device
docker[4661]: time="2018-10-31T15:41:35Z" level=info msg="-job start(ea3a71d1025ac733ebb9214045cdaffebfb0d8fb434c7a8bd83cdb93e4d7f5b9) = ERR (1)"
docker[4661]: time="2018-10-31T15:41:35Z" level=error msg="Handler for POST /containers/{name:.*}/start returned error: Cannot start container ea3a71d1025ac733ebb9214045cdaffebfb0d8fb434c7a8bd83cdb93e4d7f5b9: [8] System error: no such device"
docker[4661]: time="2018-10-31T15:41:35Z" level=error msg="HTTP Error: statusCode=404 Cannot start container ea3a71d1025ac733ebb9214045cdaffebfb0d8fb434c7a8bd83cdb93e4d7f5b9: [8] System error: no such device"

最佳答案

我通过在内核端启用CONFIG_POSIX_MQUEUE来解决此问题。错误没有这样的设备来自 docker 想要/ dev / mqueue来安装容器fs的事实。
也许在运行时还有另一个配置选项可以选择设备,所以我们可以避免使用此内核配置。

docker运行arm32v7 / busybox ls

箱子
开发者
等等

处理

系统
tmp
usr
变种

docker 版本

客户端版本:1.6.2
客户端API版本:1.18
Go版本(客户端):go1.3
Git提交(客户端):7c8fca2-dirty
OS / Arch(客户端):linux / arm
服务器版本:1.6.2
服务器API版本:1.18
Go版本(服务器):go1.3
Git提交(服务器):7c8fca2-dirty
操作系统/存档(服务器):linux / arm

关于docker - Docker 1.6.2: “System error: no such device”启动hello-world镜像时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53087802/

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