DanielDent/docker-postgres-replication

ping: command not found

agustinmontero opened this issue · 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

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

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

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.