Skip to content

← All questions

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

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

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.

2 answers

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related