qemus / qemu-docker

QEMU in a Docker container.
MIT License
493 stars 59 forks source link

dnsmasq: failed to create inotify for /etc/resolv.conf: No space left on device #537

Closed MasterZhang007 closed 5 months ago

MasterZhang007 commented 5 months ago

Operating system

Synology DSM

Description

Planed to run a local ubuntu iso in Synology, but the container failed to start.

Docker compose

services: qemu-ubuntu: container_name: qemu-ubuntu image: qemux/qemu-docker restart: unless-stopped devices:

Docker log

dnsmasq: failed to create inotify for /etc/resolv.conf: No space left on device ❯ ERROR: Failed to start dnsmasq, reason: 0 ❯ Starting QEMU for Docker v5.08... ❯ For support visit https://github.com/qemus/qemu-docker ❯ CPU: Intel Core TM i5 8600T CPU | RAM: 49/63 GB | DISK: 633 GB (btrfs) | HOST: 4.4.302+...

dnsmasq: failed to create inotify for /etc/resolv.conf: No space left on device ❯ ERROR: Failed to start dnsmasq, reason: 0 ❯ Starting QEMU for Docker v5.08... ❯ For support visit https://github.com/qemus/qemu-docker ❯ CPU: Intel Core TM i5 8600T CPU | RAM: 49/63 GB | DISK: 633 GB (btrfs) | HOST: 4.4.302+...

dnsmasq: failed to create inotify for /etc/resolv.conf: No space left on device ❯ ERROR: Failed to start dnsmasq, reason: 0 ❯ Starting QEMU for Docker v5.08... ❯ For support visit https://github.com/qemus/qemu-docker ❯ CPU: Intel Core TM i5 8600T CPU | RAM: 49/63 GB | DISK: 632 GB (btrfs) | HOST: 4.4.302+...

Screenshots (optional)

No response

kroese commented 5 months ago

According to https://askubuntu.com/questions/1088272/inotify-add-watch-failed-no-space-left-on-device you need to increase the amount of inotify watchers. There are steps on that page on how to do that.

MasterZhang007 commented 5 months ago

@kroese Thank you so much. I followed the steps and it worked.