分页: 1 / 1

docker报错,提示pair interfaces: operation not supported

发表于 : 2024年 1月 19日 星期五 9:57 am
htynkn
docker run -d --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /Volume1/appdata/portainer:/data portainer/portainer-ce:latest
4bc4462affebf7a3eac9497d0d6546440529ebb4b25d9ee521635e601b22dd68
docker: Error response from daemon: failed to create endpoint portainer on network bridge: failed to add the host (vethd3b843f) <=> sandbox (veth250e873) pair interfaces: operation not supported.

docker run busybox
docker: Error response from daemon: failed to create endpoint bold_beaver on network bridge: failed to add the host (veth6d3792b) <=> sandbox (vetha25271a) pair interfaces: operation not supported.
ERRO[0000] error waiting for container: context canceled

docker没法用呢,有什么解决方案吗

Re: docker报错,提示pair interfaces: operation not supported

发表于 : 2024年 1月 19日 星期五 11:58 am
TMpraj
{L_BUTTON_AT}htynkn
你好,请问你安装的 TOS 系统是什么版本的?Docker Manager 是什么版本的?在出现这种错误前,你做了什么操作呢?

Re: docker报错,提示pair interfaces: operation not supported

发表于 : 2024年 1月 19日 星期五 2:16 pm
htynkn
Tos 5.1.67
Docker Manager 1.2.9

有一段时间没操作docker相关的,最后一次新建docker容器是2个月前,目前能用的都是--network host的。
我感觉当时应该有升级,但是具体是哪次升级导致的我就无法回忆了。

Re: docker报错,提示pair interfaces: operation not supported

发表于 : 2024年 1月 19日 星期五 5:06 pm
TMnight
ssh 登录后台,输入docker info命令,查看一下有没有Kernel Version: 5.15.59,然后重装一下nas再查看一下这个命令

Re: docker报错,提示pair interfaces: operation not supported

发表于 : 2024年 1月 22日 星期一 2:26 pm
htynkn
Client:
Context: default
Debug Mode: false

Server:
Containers: 8
Running: 8
Paused: 0
Stopped: 0
Images: 35
Server Version: 20.10.17
Storage Driver: btrfs
Build Version: Btrfs v5.16.2
Library Version: 102
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
Default Runtime: runc
Init Binary: docker-init
containerd version:
runc version:
init version: de40ad0
Kernel Version: 5.15.59
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.775GiB
Docker Root Dir: /Volume1/@DockerData
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: true

有这个信息

Re: docker报错,提示pair interfaces: operation not supported

发表于 : 2024年 1月 22日 星期一 6:34 pm
TMnight
看起来是内核缺少了相关的模块。请检查系统分区是2GB么?如果是,请备份数据重新安装TOS5系统,可以参考以下链接重装系统:https://forum.terra-master.com/cn/viewt ... f=85&t=241

Re: docker报错,提示pair interfaces: operation not supported

发表于 : 2024年 1月 25日 星期四 11:45 am
htynkn
TMnight 写了: 2024年 1月 22日 星期一 6:34 pm 看起来是内核缺少了相关的模块。请检查系统分区是2GB么?如果是,请备份数据重新安装TOS5系统,可以参考以下链接重装系统:https://forum.terra-master.com/cn/viewt ... f=85&t=241
这个系统分区大小怎么检查?

Re: docker报错,提示pair interfaces: operation not supported

发表于 : 2024年 1月 25日 星期四 6:29 pm
TMeric
可以在 控制面板>系统信息>总览 查看