I created a file to run the container as the PostrePG user, and everything works fine.
As soon as I change the line:
Volume=postgresdb:/var/lib/postgresql/data:Z
to
Volume=%h/postgresdb:/var/lib/postgresql/data:Z
The container doesn’t start, and I can’t see the error.
Selinux is disabled, what should I do?
P.S. Sorry its BAD for postgresql:latest (18), all works postgresql:14.
(CLOSED)