Move host postgresql server to docker container.
this issue aims to record some discussions and best practice about how to proper move from a postgresql server on host to container.
common approaches:
- create a named volume for the postgresql docker container and restore a dump from pg host to the pg container.
- mount the postgresql data folder from host to the container data folder