I have followed the official documentation in order to run the container, using
docker pull apache/age
docker run
--name age
-p 5455:5432
-e POSTGRES_USER=postgresUser
-e POSTGRES_PASSWORD=postgresPW
-e POSTGRES_DB=postgresDB
-d
apache/age
but it stops there.
How can I log in to psql? Which user should I log in to? What are the commands to use?
I entered inside the container console and saw there’s already a user ‘postgres’ and a server running, but couldn’t enter psql with common commands like psql postgresUser
.
Does anyone know how to login to psql on the official Apache AGE docker container?
2
Answers
If you want to to login to psql on the official Apache AGE docker container, you can use the following command:
Here is an article I wrote, it contains a step by step guide on how to setup Apache age via docker https://dev.to/shadycj/apache-age-getting-started-part-3age-installation-via-docker-2lig