moby
moby copied to clipboard
fatal error: slice bounds out of range
Description
I've been recently running a few containers with docker (mainly coolify and my own apps on it), and i've been randomly experiencing crashes on Docker Engine. It seems they are two different errors
https://i.2221.ch/dCTyxu29.png https://i.2221.ch/VbtLTaRE.png
This ends up restarting Docker Engine, and deleting some of my containers: https://i.2221.ch/M1ffvCBD.png
Reproduce
- Install Docker
- Launch containers (I do not know which container is causing this ??)
- wait
- The bug randomly happens after some time.
Expected behavior
Docker Engine should not crash.
docker version
Client: Docker Engine - Community
Version: 26.1.4
API version: 1.45
Go version: go1.21.11
Git commit: 5650f9b
Built: Wed Jun 5 11:28:57 2024
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 26.1.4
API version: 1.45 (minimum version 1.24)
Go version: go1.21.11
Git commit: de5c9cf
Built: Wed Jun 5 11:28:57 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.33
GitCommit: d2d58213f83a351ca8f528a95fbd145f5654e957
runc:
Version: 1.1.12
GitCommit: v1.1.12-0-g51d5e94
docker-init:
Version: 0.19.0
GitCommit: de40ad0
docker info
Client: Docker Engine - Community
Version: 26.1.4
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.14.1
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.27.1
Path: /usr/libexec/docker/cli-plugins/docker-compose
Server:
Containers: 18
Running: 13
Paused: 0
Stopped: 5
Images: 84
Server Version: 26.1.4
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: systemd
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: d2d58213f83a351ca8f528a95fbd145f5654e957
runc version: v1.1.12-0-g51d5e94
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: builtin
cgroupns
Kernel Version: 5.15.0-25-generic
Operating System: Ubuntu 22.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 23.48GiB
Name: vmi1913049.contaboserver.net
ID: 9999991a-83e1-403d-86d2-fc368cd09d90
Docker Root Dir: /var/lib/docker
Debug Mode: false
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Additional Info
Here are the two log files saved from systemd, using the command sudo journalctl -u docker | cat > docker.log
The dns error is likely Tailscale conflicting.
I am aware my bug report is kind of guessy, but I cannot find more data, or at least I do not know where to get it.