Sign inSign up

cyberrrnaut/postgres_sql

By cyberrrnaut

Updated about 2 years ago

My all postgres sql dbs and users

Image
Databases & storage
0

92

cyberrrnaut/postgres_sql repository overview

Postgres SQL Custom Setup

This Docker image includes a PostgreSQL setup with custom databases and users.

What You Can Do:

  1. Go to Docker Hub:

  2. Pull the Image:

    • From any machine, you can pull this image using:

      docker pull cyberrrnaut/postgres_sql:custom_setup
      
  3. 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.

  4. Share with Others:

    • Share the image name and tag with others who need to use this setup.
  5. 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.

Additional Information

  • Image Size: 432MB
  • Created: 25/7/2024
  • Tags: custom_setup

Tag summary

Content type

Image

Digest

sha256:b1ee56f04

Size

146.3 MB

Last updated

about 2 years ago

docker pull cyberrrnaut/postgres_sql:custom_setup_with_data