spr-networks / super

📡 SPR: Open Source, secure, user friendly and fast wifi routers for your home. One wifi password per device. Ad Blocking & Privacy Blocklists. Policy Based Network Access
https://www.supernetworks.org/
BSD 3-Clause "New" or "Revised" License
165 stars 12 forks source link

investigate docker vs docker compose regressions #321

Closed lts-rad closed 3 months ago

lts-rad commented 3 months ago

in the dev branch we have added a :ro workaround for superd mounting the unix socket

"ERROR: for superd Cannot restart container ab0ca33c784337b2186355192bbfa8f75e2bb14e1494cc880928902408d0252b: 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: error mounting "/root/super/state/api/eventbus.sock" to rootfs at "/state/api/eventbus.sock": mount /root/super/state/api/eventbus.sock:/state/api/eventbus.sock (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type "

before this we would ocassionally see this error. but we need track down the root cause of this. this was traditionally not an issue for docke rcompose