Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
tar: /var/lib/ghost/content.orig: Cannot open: No such file or directory #69
I use docker compose to create it, the configuration file approximately is:
And after this I can see the
I ran into the same issue.
Happens only, when I mount an empty folder to /var/lib/ghost
I think this doesn't work, because the /content/ folder is created in the Dockerfile and not in the entrypoint-script. A workaournd could be to create a symlink maybe, eg. ln -s $SOME_DIR /var/lib/ghost
Also I took note that the variable $BASH_SOURCE in entrypoint-script seems to be unrecognized from within the container. It's not declared in the Dockerfile.
I solved it.
I took a look at the Dockerfile. You can see here that the Docker Ghost 1.0 now use
When I run it locally:
I will do a PR on the readme over here for this breaking change.
Please let me know if you guys can replicate :)
I figured the problem is that I'm mapping a local drive from windows machine and tar somehow cannot update the access/read/edit (utime) time on the filesystem with tar.
For now I went on a simplyfied approach for the copying of the files in the entrypoint-script.