My all postgres sql dbs and users
92
This Docker image includes a PostgreSQL setup with custom databases and users.
Go to Docker Hub:
custom_setup tag listed under the repository.Pull the Image:
From any machine, you can pull this image using:
docker pull cyberrrnaut/postgres_sql:custom_setup
Run the Container:
To run a container from this image, use:
docker run -d --name {custom container name} -p 5432:5432 cyberrrnaut/postgres_sql:custom_setup
Adjust the port and other parameters as needed.
Share with Others:
Connect to the PostgreSQL Instance:
To connect to the PostgreSQL instance running inside the container, you can use the psql command-line tool. From your host machine, run:
psql -h localhost -p 5432 -U postgres
If you’re running this command inside the container, you might use:
docker exec -it pgdb psql -U postgres
Replace pgdb with your actual container name and postgres with your PostgreSQL username if different.
custom_setupContent type
Image
Digest
sha256:b1ee56f04…
Size
146.3 MB
Last updated
about 2 years ago
docker pull cyberrrnaut/postgres_sql:custom_setup_with_data