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 “/home/littlerobotlabs/n8n-docker-caddy/caddy_config/Caddyfile” to rootfs at “/etc/caddy/Caddyfile”: create mountpoint for /etc/caddy/Caddyfile mount: cannot create subdirectories in “/var/lib/docker/overlay2/d9ded4ddc2bc77d350bf4e29470bb695126f056b313d2a216cae3c0e4327f1b4/merged/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
Could you share your yml file too please? This might be happening because Docker is trying to mount a file onto a directory (or vice versa), which causes a conflict—especially if it’s using /var without proper permissions.
@Harshpal_Khurana was you following this? Digital Ocean | n8n Docs it appear thats correct the yml, so, I would probably say remove that instance, create another droplet and see if you get same error, you shound’t if you follow the guide. Can maybe jump on a screenshare if you like?