You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After following the wiki to enable Avahi, I got dbus problems. Docker failed on new containers and some system commands also printed dbus related errors.
Expected Behavior
Docker started to have cgroup errors when running new containers
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process:
unable to apply cgroup configuration: unable to start unit "docker-511dafefeb50591cff0dbd332bf0e8285f95efdc35770477d8874151b4db4083.scope"
(properties [{Name:Description Value:"libcontainer container 511dafefeb50591cff0dbd332bf0e8285f95efdc35770477d8874151b4db4083"} {Name:Slice Value:"system.slice"} {Name:Delegate Value:true} {Name:PIDs Value:@au [11590]} {Name:MemoryAccounting Value:true} {Name:CPUAccounting Value:true} {Name:IOAccounting Value:true} {Name:TasksAccounting Value:true} {Name:DefaultDependencies Value:false}]): Launch helper exited with unknown return code 1: unknown
Other dbus problems:
❯ sudo reboot
Failed to connect to bus: No such file or directory
Steps To Reproduce
I use oznu/homebridge Docker.
docker-compose
homebridge:
image: oznu/homebridge
container_name: homebridge
restart: always
network_mode: host
environment:
- HOMEBRIDGE_CONFIG_UI_PORT=8581
volumes:
- homebridge-config:/homebridge
# For Avahi mDNS, Linux only, more efficient protocol than Bonjour
- /var/run/dbus:/var/run/dbus
- /var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket
security_opt:
- apparmor:unconfined # For Avahi mDNS
logging:
driver: json-file
options:
max-size: 100mb
max-file: 2
docker run for new containers would then fail.
Logs
.
Configuration
.
Environment
OS: Debian 12, kernel 6.6.13+bpo-amd64
Software: Docker version 26.0.0
Node:
npm:
Process Supervisor
Docker
Additional Context
Image oznu/homebridge
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Analysis
After following the wiki to enable Avahi, I got dbus problems. Docker failed on new containers and some system commands also printed dbus related errors.
Expected Behavior
Docker started to have cgroup errors when running new containers
Other dbus problems:
Steps To Reproduce
I use
oznu/homebridge
Docker.docker-compose
docker run
for new containers would then fail.Logs
Configuration
.
Environment
Process Supervisor
Docker
Additional Context
Image
oznu/homebridge
The text was updated successfully, but these errors were encountered: