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.
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.
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.
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
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 ?
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.
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.
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.
bro literalyl just got done working out and part of his ritual hes making a video nice
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
This was super easy to follow, thank you. Subscribed :)
Highly appreciated. God bless 🙏
Wow....thanks alot caleb .....you are impacting my journey as a developer....thanks
Thank you so much for this clear explanation
Would love to see something on the considerations, setup and maintenance of a CI/CD system, please.
Was helpful, thanks.
Thanks Caleb!
Thanks you helped alot!
Very good, thank you!
So where does docker save the volume and its data in the host machine?
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
There are defaults when data is saved, unless specified otherwise, it will be something like /var/lib/docker/volumes/ OS/distro dependent.
Great! many thanks.
Thank you
thanks
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.
WOW, cool
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 ?
is downloading docker desktop a necessity ? I am using my office laptop and downloading docker desktop has some issues
"The Dripped Out Developer"
First! Great video :)