docker-postgres-replication icon indicating copy to clipboard operation
docker-postgres-replication copied to clipboard

ping: command not found

Open agustinmontero opened this issue 6 years ago • 4 comments

pg-slave_1 | Waiting for master to ping... pg-slave_1 | /usr/local/bin/docker-entrypoint.sh: line 39: ping: command not found

It is necessary to install ping. It is solved adding in the Dockerfile:

RUN apt-get update RUN apt-get install iputils-ping -y

agustinmontero avatar Aug 19 '18 18:08 agustinmontero

Hi Agustin, I got same problem Where to put these commands to? I added in the dockerfile, but seems doesn't work

chat2004 avatar Sep 15 '18 14:09 chat2004

Hi Agustin, I got same problem Where to put these commands to? I added in the dockerfile, but seems doesn't work

Hi Vu Huynh. Here I attach the Dockerfile in a zip

Dockerfile.zip

agustinmontero avatar Sep 15 '18 14:09 agustinmontero

Hi Agustin,

Thanks a lot, It works fine.

Regards,

On Sat, Sep 15, 2018 at 9:50 PM Agustin [email protected] wrote:

Hi Agustin, I got same problem Where to put these commands to? I added in the dockerfile, but seems doesn't work

Hi Vu Huynh. Here I attach the Dockerfile in a zip

Dockerfile.zip https://github.com/DanielDent/docker-postgres-replication/files/2385811/Dockerfile.zip

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DanielDent/docker-postgres-replication/issues/14#issuecomment-421581694, or mute the thread https://github.com/notifications/unsubscribe-auth/ABmlTYjU-I_eOo_MBkjOiScYiRa8U4qyks5ubROqgaJpZM4WDEHo .

chat2004 avatar Sep 16 '18 11:09 chat2004

Hi Agustin, Thanks a lot, It works fine. Regards, On Sat, Sep 15, 2018 at 9:50 PM Agustin @.***> wrote: Hi Agustin, I got same problem Where to put these commands to? I added in the dockerfile, but seems doesn't work Hi Vu Huynh. Here I attach the Dockerfile in a zip Dockerfile.zip https://github.com/DanielDent/docker-postgres-replication/files/2385811/Dockerfile.zip — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#14 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABmlTYjU-I_eOo_MBkjOiScYiRa8U4qyks5ubROqgaJpZM4WDEHo .

I'm glad you've been useful. Regards.

agustinmontero avatar Sep 16 '18 18:09 agustinmontero