pg_dump and restore a db in a container
I’m running containerized ManageIQ appliances for development.
To dump your postgres db running inside such a container you simply exec
In my case not directly, because
pg_dump is a some obscure place inside the container.
cat /dev/urandom | hexdump