Docker Community Forums

Share and learn in the Docker community.

Docker Network inside a container partially working

(Bforpc) #1

I have running the “FROM php:5.6-apache” container with my own php application. That works. But one part didn’t. My application can not use the network.

If i run manualy

docker run -t -i myapp ping it
that works great. But if my app does it like

$ping = exec(“ping -c 1 -s 64 -t 64”);
then it doesen’t.