sdr-enthusiasts / docker-adsb-ultrafeeder

ADSB-Ultrafeeder is an all-in-one ADSB container with readsb, tar1090, graphs1090, autogain, multi-feeder, and mlat-hub built in
GNU General Public License v3.0
181 stars 32 forks source link

Docker container fails to start up - chmod /dev/console: read-only file system: unknown #155

Open acidicX opened 3 hours ago

acidicX commented 3 hours ago

I just upgraded my Pi (4) to the latest arch linux ARM (aarch64) and I'm getting the following error messages for ultrafeeder startup:

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: error during container init: chmod /dev/console: read-only file system: unknown

I'm using basically the docker compose setup from this repository.

If I comment out the line

volumes:
  - /dev:/dev:ro

the container will start up, but won't find my rtlsdr device. I'm guessing something changed in the base Image you are using that now tries to chmod /dev/console which fails on RO filesystem, or a newer docker version is enforcing RO more strictly?

Is it really necessary to mount the whole /dev ?

Other containers start up fine on the host system. It's only ultrafeeder that fails currently.

Docker version:

Docker version 27.3.1, build ce1223035a Docker Compose version 2.29.7

acidicX commented 2 hours ago

I've added a volume

- ./console-fake:/dev/console

to work around the issue for now