Forum OpenACS Development: Re: Docker Images available

Collapse
Posted by Kenneth Wyrick on
Hi Mate,
Used your .yml to install docker.

Trying to find the path to where the postgres data is stored.

The ENV is set to
PGDATA /var/lib/postgresql/data

kmw@caltek$ sudo docker run -it postgres:10-alpine /bin/bash
bash-5.0# whoami
root
bash-5.0# su - postgres
b030bcb67163:~$ psql -c "show data_directory"
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
b030bcb67163:~$