-
Notifications
You must be signed in to change notification settings - Fork 86
Cannot load production configuration when running in Docker #317
Comments
The config files should be generated for you by Haven't tried this personally on Arch, only Debian, Ubuntu, Alpine, and OS X. |
It is not We noticed that |
The files actually shouldn't be copied at all. They're in a read only volume. Is it possible the volume isn't mounting correctly? |
How can I make sure that it mounts correctly? |
if the files exist in your host directory, execute a shell on the container. To do this you need the container id, which you can get from
When you have the id, you can run
Now you're inside the container. Mounted directories should be present where they're defined in the
Finally, take a look inside the
|
I was able to solve this. I'm still new with docker, and I don't really understand why this solution works (I discovered it by accident), so if you know what's going on, please tell me. |
Hi,
when running
docker-compose up
I get the error "Cannot load production configuration" many times, until I stop the containers (it happens also if I run them in background). To get these error I followed the getting started guide step by step, but I had to apply this patch to connect-cli in order to fix the error #316It appears that the
production.json
anddevelopment.json
files are not copied to the config volume. I checked with these commands:I'm currently running on Arch Linux.
Some additional information that might be useful:
The text was updated successfully, but these errors were encountered: