Postgresql issues in Ubuntu containers

JC Connell

Member
Apr 6, 2016
29
1
23
37
I've had some issues with Ubuntu containers and Postgresql on my Proxmox host. I've been trying to setup a rails development server at home.

The first container and installation went well and I was able to successfully launch my rails application. I later messed up something else unrelated so I decided to destroy the container and start fresh.

I've now created and configured at least four more containers using various versions of Ubuntu from 12.04 to 15.10. Each container has had an issue with Postgresql where it thinks the server isn't running. I can't start it either. All configuration has taken place within the containers, I haven't modified the host.

I'm new to containers but I thought each should be a fresh environment separate from the host. Is it possible that the first container manipulated the host in some way, causing all the following containers to have identical issues with Postgresql? I'm having trouble explaining it otherwise.
 
  • Like
Reactions: alallier
Please post the container config, the output of "pveversion -v", and any error messages from within the container and relevant parts of the host's system logs ("dmesg" and /var/log/syslog or "journalctl -b")