Hello!
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.
Error:

In your case I would use just the first option, moved the dB dump.
With next/owncloud there are situations where you want to use their migration tool, even when upgrading minor versions. - Willard_Jerde67 commented on June 8th 19 at 17:01
The base connects with the container is started, the variable is passed. According to this example:
So when you run the container and sent to directories of informal container, the duplication of tables. I do not understand how to make it when you start creating tables, and just connect to the existing database. - ceasar.Buckridge commented on June 8th 19 at 17:04
Created and deployed a dump of the dB, salustio container. Running nonstop. But the app doesn't start...
Curl shows
And the browser displays
$ docker logs <container_name></container_name>
- maverick64 commented on June 8th 19 at 17:13