当我尝试使用InvoiceNinja的InvoiceNinja页面中的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.发布于 2020-08-16 15:45:50
问题是您没有克隆完整的存储库。我们已经在这个Github问题中讨论过了。
仅供参考:
/home/test/my-new-in-setupcd /home/test/my-new-in-setup的新文件夹,并使用git clone https://github.com/invoiceninja/dockerfiles.git .克隆这个存储库docker-compose up -d编写https://stackoverflow.com/questions/63120123
复制相似问题