Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker: update to 26.1.1 #807

Merged
merged 1 commit into from May 8, 2024
Merged

Conversation

uparrows
Copy link
Contributor

@uparrows uparrows commented May 7, 2024

Update Docker to 26.1.1

Compile tested: CncTion J4125-4L Intel(R) Celeron(R) J4125 CPU,OpenWrt R24.5.1 LuCI Master (git-24.126.79400-c7873ae)
Run tested: CncTion J4125-4L Intel(R) Celeron(R) J4125 CPU,OpenWrt R24.5.1 LuCI Master (git-24.126.79400-c7873ae)

Description: Docker 26.1.0 still encounters the problem of "superfluous response.WriteHeader" error logs,Update docker version to 26.1.1 try to fix it .

See moby/moby#47448 open-telemetry/opentelemetry-go-contrib#5438 for more info.

111

Update Docker to 26.1.1
@uparrows uparrows mentioned this pull request May 7, 2024
@Beginner-Go Beginner-Go changed the title Update Docker to 26.1.1 docker: update to 26.1.1 May 8, 2024
@Beginner-Go Beginner-Go merged commit 86639d1 into coolsnowwolf:master May 8, 2024
github-actions bot added a commit to swirly0p/lean-packages that referenced this pull request May 9, 2024
@devioa
Copy link
Contributor

devioa commented May 9, 2024

26.1.1还是有相同的错误日志啊,完全没解决……
QQ截图20240509142337
QQ截图20240509142346

@uparrows
Copy link
Contributor Author

uparrows commented May 9, 2024

26.1.1还是有相同的错误日志啊,完全没解决…… QQ截图20240509142337 QQ截图20240509142346

123
456

我这确实没有这个报错刷屏,你使用docker info命令贴出来看看,如果想完全看不到这个报错,可以试一试这个commit,风险自担:https://github.com/moby/moby/blob/a73e63cfa6890bc68ea552288d53735ae99d6587/daemon/stats.go#L51

789

@devioa
Copy link
Contributor

devioa commented May 9, 2024

@uparrows

root@OpenWrt:~# docker info
Client:
 Version:    26.1.1
 Context:    default
 Debug Mode: false

Server:
 Containers: 10
  Running: 10
  Paused: 0
  Stopped: 0
 Images: 10
 Server Version: 26.1.1
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version:
 runc version:
 init version: de40ad0
 Security Options:
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.6.30
 Operating System: OpenWrt SNAPSHOT
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 3.785GiB
 Name: OpenWrt
 ID: 34eba6b2-75b6-43c1-a330-d53c48e55a70
 Docker Root Dir: /opt/docker
 Debug Mode: false
 Username: devioa
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled

@devioa
Copy link
Contributor

devioa commented May 9, 2024

刚刚玩游戏突然断流420了,然后一看日志刷满了……
QQ截图20240509185205

@uparrows
Copy link
Contributor Author

uparrows commented May 9, 2024

删除容器重建下试一试,我不确定是cgroup还是内核版本引起的,如果完全不想看到这个报错,当前可以降级到24.x版本,毕竟刚出来的26.1.2也没说这个问题解决了,或者你可以使用这个分支编译试一试:https://github.com/moby/moby/tree/8224204c9ff84c4f23401af45e41e62cd75ddaae

@devioa
Copy link
Contributor

devioa commented May 9, 2024

可以,我还是降回24.x吧

@devioa
Copy link
Contributor

devioa commented May 11, 2024

刚编译6.1.90内核版本还是会有报错
另外关于cgroup,这个我只能用cgroupv2,可以看下我这个issue lisaac/luci-app-dockerman#175 (comment)

@uparrows
Copy link
Contributor Author

uparrows commented May 20, 2024

刚编译6.1.90内核版本还是会有报错 另外关于cgroup,这个我只能用cgroupv2,可以看下我这个issue lisaac/luci-app-dockerman#175 (comment)

如果不出意外的话26.1.4应该会修复这个问题,也可能是27版本修复:portainer/portainer#11251
moby/moby#47843
研究了下应该是是 Docker 25引入 OpenTelemetry但并未完全支持,在部分镜像里面会报这个错误。

@devioa
Copy link
Contributor

devioa commented May 20, 2024

刚编译6.1.90内核版本还是会有报错 另外关于cgroup,这个我只能用cgroupv2,可以看下我这个issue lisaac/luci-app-dockerman#175 (comment)

如果不出意外的话26.1.4应该会修复这个问题,也可能是27版本修复:portainer/portainer#11251 moby/moby#47843 研究了下应该是是 Docker 25引入 OpenTelemetry但并未完全支持,在部分镜像里面会报这个错误。

那太好了,届时麻烦大佬发pr更新一下👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants