---
title: "Comment by Oleg on \"Setup Postgres docker container quick!!\" | Hashnode"
description: "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"
url: "https://hashnode.com/posts/setup-postgres-docker-container-quick/61c16ac202755832385f5384/comment/61c1722c02755832385f5497"
---

[Discussion](https://hashnode.com/posts/setup-postgres-docker-container-quick/61c16ac202755832385f5384)

Comment [Setup Postgres docker container quick!!](https://hashnode.com/posts/setup-postgres-docker-container-quick/61c16ac202755832385f5384)

[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.
