---
title: "Discussion on \"Connect RDS (PostgreSQL) from Docker container\" | Hashnode"
description: "Discussion on \"Connect RDS (PostgreSQL) from Docker container\". Step 1: Run the postgres docker container\n$ docker run -it --rm --network=host postgres:11.16 bash\nroot@a018fe70d745:/# apt update && apt install telnet -y\n\nStep 2: Check if postgres is connected by using telnet command\nFor example the endpoint of th..."
url: "https://hashnode.com/posts/connect-rds-postgresql-from-docker-container/62f2670a408d676b1b58a22e"
---

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

Discussion

# [Connect RDS (PostgreSQL) from Docker container](https://muhard.hashnode.dev/connect-rds-postgresql-from-docker-container?utm_source=hashnode&utm_medium=feed)

Step 1: Run the postgres docker container $ docker run -it --rm --network=host postgres:11.16 bash root@a018fe70d745:/# apt update && apt install telnet -y Step 2: Check if postgres is connected by using telnet command For example the endpoint of th...

Aug 9, 2022 · 1 min read · muhard.hashnode.dev  
Read the article

-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#docker](https://hashnode.com/tag/docker)
-   [#aws-rds](https://hashnode.com/tag/aws-rds)

## Written by

[Muhammad Ardivan Satrio Nugroho](https://hashnode.com/@muhard)

@muhard · Indonesia

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

Site Reliability Engineer

Just an ordinary boi

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
