Run Postgres in a Docker Container (Easiest PostgreSQL Setup)

Поділитися
Вставка
  • Опубліковано 27 січ 2025

КОМЕНТАРІ • 27

  • @davidmendelsohn3932
    @davidmendelsohn3932 18 днів тому +1

    Thank you Caleb for explaining this all so well! Having first installed postgres on my laptop and then installed docker and then created a container with a postgres Image. I successfully backed up my database from the previous postgres installation then restore(copy) that saved backup to the Postgres image in the docker container. then I just changed the password and port number and my python code connected first time, and then ran all the queries successfully.

  • @guywhocodes
    @guywhocodes 3 місяці тому

    This was the most fluent way of working with postgres and docker. Very well explained. I was not able to connect to the database from vs code using postgres explorer extension. Now I got connected and can continue.
    Thank you.

  • @zillakamisosmula570
    @zillakamisosmula570 26 днів тому

    brother you deserve my highest appreciation for this , i'hd stuck in P:1000 error for around 1 week really exhausted , but that pgadmin4 and port 5431:5432 solves my issue . Thanks for making this video.

  • @jmanhype1
    @jmanhype1 4 місяці тому +1

    bro literalyl just got done working out and part of his ritual hes making a video nice

  • @codebreakthrough
    @codebreakthrough  4 місяці тому +3

    Thanks for watching! Here are three useful resources for you:
    Backend Engineering Mind Map - calcur.tech/mindmap
    Mentorship to land six figure engineering roles - calcur.tech/mentorship
    💯 FREE Courses (100+ hours) - calcur.tech/free-courses

  • @peacekeepermoe
    @peacekeepermoe 3 місяці тому +1

    This was super easy to follow, thank you. Subscribed :)

  • @daniellchukwu
    @daniellchukwu 12 годин тому

    Highly appreciated. God bless 🙏

  • @gentechcomputing
    @gentechcomputing 4 місяці тому

    Wow....thanks alot caleb .....you are impacting my journey as a developer....thanks

  • @cosmicdioxide
    @cosmicdioxide Місяць тому

    Thank you so much for this clear explanation

  • @noelkelly4354
    @noelkelly4354 4 місяці тому

    Would love to see something on the considerations, setup and maintenance of a CI/CD system, please.

  • @sudohogan
    @sudohogan Місяць тому

    Was helpful, thanks.

  • @rayusaki88
    @rayusaki88 4 місяці тому

    Thanks Caleb!

  • @diaaelrahman2410
    @diaaelrahman2410 3 місяці тому

    Thanks you helped alot!

  • @DesktopChronicles
    @DesktopChronicles 3 місяці тому

    Very good, thank you!

  • @shafiq_ramli
    @shafiq_ramli 4 місяці тому +5

    So where does docker save the volume and its data in the host machine?

    • @HelloHelloXD
      @HelloHelloXD 4 місяці тому +2

      He didn't use the option to save the data but normally I would use a bind mount and pass the folder in the OS to save the data

    • @noelkelly4354
      @noelkelly4354 4 місяці тому

      There are defaults when data is saved, unless specified otherwise, it will be something like /var/lib/docker/volumes/ OS/distro dependent.

  • @mazenalsakkaf
    @mazenalsakkaf 3 місяці тому

    Great! many thanks.

  • @maximoishi7983
    @maximoishi7983 4 місяці тому +1

    Thank you

  • @shyngysbek6907
    @shyngysbek6907 8 днів тому

    thanks

  • @BeasttBoy
    @BeasttBoy Місяць тому

    Watched a bunch of videos all were connecting to container from only one source. But here I found 2 sources I was trying to connect from.

  • @pandhu.wibowo
    @pandhu.wibowo 4 місяці тому +1

    WOW, cool

  • @htmlthypc08283
    @htmlthypc08283 2 місяці тому

    Thanks for the tutorial ! However, may I know how we can do it another way round ? That means we want to connect the localhost Postgres from docker container ?

  • @Hamster_Off_Wheel
    @Hamster_Off_Wheel 3 місяці тому

    is downloading docker desktop a necessity ? I am using my office laptop and downloading docker desktop has some issues

  • @TheAncientTwo
    @TheAncientTwo 4 місяці тому

    "The Dripped Out Developer"

  • @brentvance9090
    @brentvance9090 4 місяці тому +1

    First! Great video :)