robincher / docker-compose-ghost-quickstart

:ghost: Ghost blogging platform quick start with docker compose
MIT License
95 stars 50 forks source link

Starting ghost ... error #1

Open user53245 opened 3 years ago

user53245 commented 3 years ago

Starting ghost ... error

ERROR: for ghost Cannot start service ghost: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/root/zettend.ru/ghost/volumes/config.production.json" to rootfs at "/var/lib/ghost/config.production.json" caused: mount through procfd: 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 ghost Cannot start service ghost: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/root/zettend.ru/ghost/volumes/config.production.json" to rootfs at "/var/lib/ghost/config.production.json" caused: mount through procfd: 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.

athamour1 commented 2 years ago

I delete the ghost volumes, and it's ok, I am trying to understand still where is the new directories, so I can link them again.

robincher commented 2 years ago

I have yet to start the docker compose for awhile, does this issue still persists?

root4loot commented 2 years ago
-    - $PWD/ghost/volumes/config.production.json:/var/lib/ghost/config.production.json:z
+    - $PWD/ghost/config.production.json:/var/lib/ghost/config.production.json:z