We use Postgres as a docker container, and each time we restart the machine, the data and tables are lost. Even data files under the base and global folders.
Even more, now we've faced some RAM problems, so I'm not able to connect to Postgres and VM instance itself in now way -- neither by ssh, psql client nor redash. The last one says the following:
Error running query: could not send SSL negotiation packet: Resource temporarily unavailable.
Is there any way to somehow solve the problem?
UPD. I've tried to create a disk snapshot, but it doesn't help.
UPD2. BTW, the pgdata folder is set to be a container volume and could be used outside of it.