deiucanta / chatpad

Not just another ChatGPT user-interface!
https://chatpad.ai
GNU Affero General Public License v3.0
1.36k stars 253 forks source link

Error when installing container #60

Open ANGIPO opened 1 year ago

ANGIPO commented 1 year ago

OS: Ubuntu 22.04.02

1) Install command: sudo docker run --name chatpad -d -v pwd/config.json:/usr/share/nginx/html/config.json -p 8080:80 ghcr.io/deiucanta/chatpad:latest

2) Error log: docker: 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 "/root/config.json" to rootfs at "/usr/share/nginx/html/config.json": mount /root/config.json:/usr/share/nginx/html/config.json (via /proc/self/fd/6), 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. изображение_2023-06-14_095839871