These commands you must know when you using the PostgreSQL Image
sudo systemctl start postgresql-11
sudo systemctl stop postgresql-11
sudo systemctl restart postgresql-11
sudo systemctl status postgresql-11
Different version of PostgreSQL have different service name,if you PostgreSQL version is not 11.x,please find the service name of PostgreSQL first by following command
sudo systemctl list-unit-files