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
I was able to get this working the other day, but I needed to delete the container and remake it. Now I get the following error:
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: error mounting "/usr/local/searxng-docker/Caddyfile" to rootfs at "/etc/caddy/Caddyfile": create mountpoint for /etc/caddy/Caddyfile mount: cannot create subdirectories in "/var/lib/docker/rootfs/overlayfs/305ef18d9928c7df12165987aff9fffc8d58216d09e29692717cdbfb53092258/etc/caddy/Caddyfile": 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
I'm literally following the listed instructions step by step. I don't have a lot of experience with these things, especially Linux.
This discussion was converted from issue #366 on March 22, 2025 08:16.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I was able to get this working the other day, but I needed to delete the container and remake it. Now I get the following error:
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: error mounting "/usr/local/searxng-docker/Caddyfile" to rootfs at "/etc/caddy/Caddyfile": create mountpoint for /etc/caddy/Caddyfile mount: cannot create subdirectories in "/var/lib/docker/rootfs/overlayfs/305ef18d9928c7df12165987aff9fffc8d58216d09e29692717cdbfb53092258/etc/caddy/Caddyfile": 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
I'm literally following the listed instructions step by step. I don't have a lot of experience with these things, especially Linux.
How can I correct this error?
Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions