While composing daemon error

Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting “/eagler-Caddyfile” to rootfs at “/etc/caddy/Caddyfile”: mount /eagler-Caddyfile:/etc/caddy/Caddyfile (via /proc/self/fd/14), 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

does anyone have any answers