Cannot backup (connect to postgres) in docker_dev

OK. That’d be great. Per the above, I wanted to do something like this:

I wanted to add this to Dockerfile:

# Add libmysqlclient-dev for running imports
RUN apt-get update && apt-get install -y libmysqlclient-dev

And also, the database stuff in the OP. I don’t fully understand the security implications of the trust that I suggested, but I can’t get backups to work without the change. This is what I’m doing to run an import in discourse_dev

./bin/docker/shell_root
rm /etc/apt/sources.list.d/google-chrome.list
apt update
apt -y install libmysqlclient-dev
sed -i -e 's/peer/trust/g' /etc/postgresql/9.5/main/pg_hba.conf
exit
docker restart discourse_dev
./bin/docker/shell
time bundle exec ruby /src/script/import_scripts/vbulletin.rb # for example