Skip to content

← All questions

No projects found when running inside a container, works fine on the host

Asked 1,690 views2 answers

Same repo, mounted into the image at /srv/app. On the host every command is fine. Inside:

text
✖ PROJECT_NOT_FOUND: No projects found.
  hint: Run `sdods project create <slug>`.

And naming one explicitly gives a slightly different message:

text
✖ PROJECT_NOT_FOUND: Unknown project "demo-shop".
  hint: No projects found under /srv/app/projects. Run `sdods project create <slug>`.

The directory is definitely there — ls /srv/app/projects shows all three.

asked by Paulo Mendes97 ·

2 answers

Know the answer?

Reviewed before it appears. Wrap commands and output in triple backticks and they will render as a code block.

Have a different question? Ask it.

Related