---
title: "Discussion on \"Waiting on postgres readiness (in 1 line)\" | Hashnode"
description: "Discussion on \"Waiting on postgres readiness (in 1 line)\". I recently launched postgres via docker, and needed a second command to wait for postgres to be ready before trying to connect to it (to apply migrations).\nWhile there's an executable for checking postgres readiness called pg_isready, it's not instal..."
url: "https://hashnode.com/posts/waiting-on-postgres-readiness-in-1-line/5d7656b533afd80661ebf873"
---

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

Discussion

# [Waiting on postgres readiness (in 1 line)](https://nmrshll.hashnode.dev/waiting-on-postgres-readiness-in-1-line?utm_source=hashnode&utm_medium=feed)

I recently launched postgres via docker, and needed a second command to wait for postgres to be ready before trying to connect to it (to apply migrations). While there's an executable for checking postgres readiness called pg\_isready, it's not instal...

Sep 9, 2019 · nmrshll.hashnode.dev  
Read the article

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

## Written by

[Nicolas Marshall](https://hashnode.com/@nmrshll)

@nmrshll

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

10x CEO Ninja ultrapreneur / profesional interwebz dev

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
