searxng / searxng-docker

The docker-compose files for setting up a SearXNG instance with docker.
GNU Affero General Public License v3.0
1.01k stars 247 forks source link

sudo docker-compose up -d gets an error when starting caddy container #232

Closed Bombenheimer closed 1 month ago

Bombenheimer commented 1 month ago

[+] Running 2/3
 ✔ Container searxng  Started                   0.2s
 ✔ Container redis    Started                   0.2s
 ⠹ Container caddy    Starting                  0.2s
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": mount /usr/local/searxng-docker/Caddyfile:/etc/caddy/Caddyfile (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