From 8d9b4446df0b71275ad1a1c68db0cc2bb6978228 Mon Sep 17 00:00:00 2001 From: anD <24557+and@users.noreply.github.com> Date: Thu, 31 Oct 2019 16:36:32 +0530 Subject: [PATCH] Update README.md Added note to install netcat before calling wait-for to avoid time out messages. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index f1956f7..fc65ea5 100644 --- a/README.md +++ b/README.md @@ -49,3 +49,12 @@ Ironically testing is done using [bats](https://github.com/sstephenson/bats), wh docker build -t wait-for . docker run -t wait-for + +## Note + +Make sure netcat is installed in your Dockerfile before running the command. +``` +RUN apt-get -q update && apt-get -qy install netcat +``` +https://stackoverflow.com/questions/44663180/docker-why-does-wait-for-always-time-out +