---
title: "Discussion on \"Setup Postgres docker container quick!!\" | Hashnode"
description: "Discussion on \"Setup Postgres docker container quick!!\". Quick Postgres setup using Docker containers for rapid development/experimenting"
url: "https://hashnode.com/posts/setup-postgres-docker-container-quick/61c16ac202755832385f5384"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Setup Postgres docker container quick!!](https://blog.srthk.com/setup-postgres-docker-container-quick?utm_source=hashnode&utm_medium=feed)

Quick Postgres setup using Docker containers for rapid development/experimenting

Dec 21, 2021 · 2 min read · blog.srthk.com  
Read the article

-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#postgres](https://hashnode.com/tag/postgres)
-   [#docker](https://hashnode.com/tag/docker)
-   [#docker-images](https://hashnode.com/tag/docker-images)
-   [#developer](https://hashnode.com/tag/developer)

## Written by

[Sarthak Batra](https://hashnode.com/@SarthakBatra)

@SarthakBatra · New Delhi, India

  
[View profile](https://hashnode.com/@SarthakBatra)

Writer of code and stories!

## Responses 1

Markdown supported · ⌘↵ to post

[Oleg](https://hashnode.com/@Oleg2021)

[Dec 21, 2021](https://hashnode.com/posts/setup-postgres-docker-container-quick/61c16ac202755832385f5384/comment/61c1722c02755832385f5497)

Thank you for the interesting article. It is about running PostgreSQL docker on a local machine and work with it from the same localhost. How to run the docker on machine A and work with it from machines B, C etc in the same LAN?

[Sarthak Batra](https://hashnode.com/@SarthakBatra)

[Dec 21, 2021](https://hashnode.com/posts/setup-postgres-docker-container-quick/61c16ac202755832385f5384/comment/61c1722c02755832385f5497#reply-61c18093c4195d32e16a6343)

That is easy. If you know the IP address of your system where you're running the Postgres container(Google "My IP Address" if not), you can connect from other machines by using the same connection string, except replacing locahost with the IP address of the machine where the container is running.
