Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker example doesn't work #23

Open
ThaUnknown opened this issue Jul 30, 2023 · 3 comments
Open

docker example doesn't work #23

ThaUnknown opened this issue Jul 30, 2023 · 3 comments

Comments

@ThaUnknown
Copy link

ThaUnknown commented Jul 30, 2023

exact command ran:

git clone https://github.com/spinspire/pocketbase-sveltekit-starter; cd pocketbase-sveltekit-starter; docker compose up -d

error:

[+] Running 2/3
 ✔ Network pocketbase-sveltekit-starter_default  Created                                                           0.7s
 - Container pocketbase-sveltekit-starter-pb-1   Starting                                                          2.1s
 ✔ Container pocketbase-sveltekit-starter-sk-1   Started                                                           1.8s
Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/app/pb/entrypoint.sh": stat /app/pb/entrypoint.sh: no such file or directory: unknown

inside docker the directories are simply empty
image

@ThaUnknown
Copy link
Author

seems like the entrypoint contains CRLF instead of plain LF, which causes issues

@jkdoshi
Copy link
Contributor

jkdoshi commented Aug 2, 2023

Hmm ... Thanks for pointing that out. Also, it's possible that it is trying to use a shell (e. g. bash) that is not installed.

@jkdoshi
Copy link
Contributor

jkdoshi commented Aug 2, 2023

I'll fix the CRLF too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants