当我尝试使用 InvoiceNinja 的 GitHub 页面中的 docker-compose.yml 文件时,出现以下错误。我已经根据自述文件更改了所有变量。有谁知道是什么导致了这个错误?
ERROR: for test_server_1 Cannot start service server: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting \\\"/home/***/test/config/caddy/Caddyfile\\\" to rootfs \\\"/var/lib/docker/overlay2/1f1454ea8eee1d6433ee4eda9a7cc313cbe2a2c54a6bb707d8edf9b95898772b/merged\\\" at \\\"/var/lib/docker/overlay2/1f1454ea8eee1d6433ee4eda9a7cc313cbe2a2c54a6bb707d8edf9b95898772b/merged/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
ERROR: for server Cannot start service server: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting \\\"/home/****/test/config/caddy/Caddyfile\\\" to rootfs \\\"/var/lib/docker/overlay2/1f1454ea8eee1d6433ee4eda9a7cc313cbe2a2c54a6bb707d8edf9b95898772b/merged\\\" at \\\"/var/lib/docker/overlay/1f1454ea8eee1d6433ee4eda9a7cc313cbe2a2c54a6bb707d8edf9b95898772b/merged/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
ERROR: Encountered errors while bringing up the project.