Faced with the problem.
Used dB backend, under nextcloud. Spinning APP on the custom image .
Released the official image. Want to migrate. Created a new database pulled hranicu launched the official container works.
But the task to connect the official container to an existing database that worked on a custom container.
If I try to connect to the current the Docker when starting(APP) re-creates the table. And it turns out the error that they zadublirovanny.
How is it possible to connect to an existing database ? In Docker newbie.
I would appreciate any tips on what to Google for which files to examine. Thanks in advance.