docker: Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: rootfs_linux.go:60: mounting “/mnt/user/Docker/conf/caddyv2/Caddyfile” to rootfs at “/var/lib/docker/btrfs/subvolumes/f89f46a3e1e4fe6b6836c88b80184334ca8ff63670dc5b63c3b0e35be87d072e/etc/caddy/Caddyfile” caused: 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.
The command failed.
5. What I already tried:
Adding a Caddyfile to
6. Links to relevant resources:
If anyone has a working version of Caddy on Unraid would you please be able to share your contain config from the below please?
Ok… That got it installed and it try to run. But my config (absolute beginner) must be wrong.
What is the absolute bare bones Caddyfile I could test?
run: adapting config using caddyfile: /etc/caddy/Caddyfile:3: unrecognized directive: resond
Did you mean to define a second site? If so, you must use curly braces around each site to separate their configurations.