Docker PostgreSQL Tutorial with Persistent Data

Поделиться
HTML-код
  • Опубликовано: 23 окт 2024

Комментарии • 45

  • @abudan799
    @abudan799 Год назад +1

    Thanks have been trying to load data to my Vs code from postgres docker you explained it well for me to understand

  • @zeocamo
    @zeocamo 6 лет назад +9

    the -d is for demon mode, it is easier to remember with this :)

  • @jingle3322
    @jingle3322 4 года назад +3

    Thank you. Clear and concise tutorial without the boilerplate... Subbed :)

    • @bawad
      @bawad  4 года назад +3

      thanks, welcome :)

  • @stuartjacobs
    @stuartjacobs 3 года назад +1

    Thanks Ben. Super helpful. Thanks!

  • @themarksmith
    @themarksmith 6 лет назад +3

    Excellent video Ben - keep them coming :-)

    • @bawad
      @bawad  6 лет назад

      Thanks will do :)

  • @andresmontoya7852
    @andresmontoya7852 6 лет назад +4

    Thanks! This is a docker course? And will you show docker-compose?

    • @keepforever726
      @keepforever726 6 лет назад +1

      at the end of this video, he says the next video is gonna be docker-compose.

  • @personxyz1840
    @personxyz1840 5 лет назад

    Clear and Crisp

  • @georgemariona1507
    @georgemariona1507 6 лет назад +2

    Excellent series 👌👌

  • @baharhaciyeva3648
    @baharhaciyeva3648 2 года назад

    Thank you so much!

  • @malikbrahimi7504
    @malikbrahimi7504 4 года назад +2

    Where exactly is pgdata on the host machine? It seems kinda arbitrary

  • @EduardKaresli
    @EduardKaresli 5 лет назад

    This video is gold... thanks a lot!

  • @JustThink2000
    @JustThink2000 Год назад

    My GoLang app needs to talk to my db running postgres in a docket container but I’m being forced to run postgres on my local system even when the container is running to get it to connect. Any idea why?

  • @pedrohakia1
    @pedrohakia1 2 года назад

    This videos are amazing !

  • @spietrza
    @spietrza 6 лет назад +2

    Docker-compose is easier to use. I one Time you can create more than one container with postgres and pgadmin

  • @abhinavsingh4221
    @abhinavsingh4221 5 лет назад +1

    Awesome man!! To the point video :)

  • @abdouseck4894
    @abdouseck4894 2 года назад

    awesome

  • @AshutoshKumar-pc2mu
    @AshutoshKumar-pc2mu 4 года назад

    After ruining SQL it will persist the data ?? Like next when I run it will have the DB and Tables with running SQL ??

  • @christopherfenos6819
    @christopherfenos6819 6 лет назад

    Hey! Any chance you could put up a tutorial on fastlane and deploying to the app store?

    • @bawad
      @bawad  6 лет назад

      I haven't used it yet, I've been using Expo to deploy.
      When I give it a try, I'll do a video on it.

  • @aerocodes
    @aerocodes 6 лет назад

    Hey any chances you would do a tutorial on hosting a pg db on aws rds and ecr/ecs? Thanks!

    • @bawad
      @bawad  6 лет назад

      What would you like to see in it?
      For RDS you create an instance and then can connect to it with the url they give you.

    • @aerocodes
      @aerocodes 6 лет назад

      A dockerized express backend + rds + ci/cd with ecr ecs circleci would be awesome

    • @bawad
      @bawad  6 лет назад +1

      K

  • @ruksharalam173
    @ruksharalam173 Год назад

    Where is the next part video?

  • @heidarzadeh2
    @heidarzadeh2 3 года назад

    Isn't it risky to store run database in a container and store data inside it? what if the container crashes? or this is just for development and in production, you will not run the database in a container.

    • @genericaccount5523
      @genericaccount5523 2 года назад

      Yea, I was thinking he’d mention more about how the data is persistent

  • @elenaperez6327
    @elenaperez6327 3 года назад

    Is it possible to create a database with psql to store images, if so how? Thanks for the video.

    • @felipebutcher
      @felipebutcher 3 года назад

      storing images in database is not a good idea since ever. store it on disk or a service like aws s3 and save only the reference (path/url) on the database

    • @elenaperez6327
      @elenaperez6327 3 года назад +1

      @@felipebutcher ok, thank you. I have a look at how to do it with s3.

  • @dwhdai
    @dwhdai 3 года назад

    what is the correct IP to use when connecting from the host to the Postgres instance in the Docker container? both localhost and 127.0.0.1 don't work for me on Windows :/

    • @michaelndiritu6413
      @michaelndiritu6413 3 года назад

      Did you specify the port?
      It should be 127.0.0.1:5432

    • @dwhdai
      @dwhdai 3 года назад +1

      @@michaelndiritu6413 yep I did. I read online that you need to use the external IP of the host instead of localhost, but couldn't get it working
      Note: I mean connecting from another app (eg. VS Code), not using psql

  • @mrlectus
    @mrlectus 7 месяцев назад

    must the username and password be postgres

  • @JustThink2000
    @JustThink2000 Год назад

    For some reason I’m forced to have have postgres running

  • @alessandrocinque4542
    @alessandrocinque4542 Год назад

    How to connect without Postgres 2:55 (self note)

  • @4ware
    @4ware 6 лет назад

    Please extend the series with kubernetes, since digitalocean now got it!

    • @bawad
      @bawad  6 лет назад +1

      I'm still a kubernetes noob

    • @4ware
      @4ware 6 лет назад

      Me too but since do just got it i'm gonna try and see where it gets me :)

    • @harshitpant3067
      @harshitpant3067 6 лет назад

      I just got access to beta program of it, it is really nice in digitalocean

    • @4ware
      @4ware 6 лет назад

      Harshit Pant yeah. Me too. Now i'm gonna test it!!

  • @grim.reaper
    @grim.reaper 4 года назад

    I love you man ♥‿♥

  • @akam9919
    @akam9919 Год назад

    667