When i run the below command
$ docker container exec -it nginx1 ping nginx2
This is the error which i faced :
OCI runtime exec failed: exec failed: container_linux.go:344: starting container process caused "exec: \"ping\": executable file not found in $PATH": unknown
How to resolve this issue ?
pinginto thenginx1image during build? - Danila Kiverpingdirectly after installing it (not leaving the shell)? If yes did you try it by specifying the full path to the binary (e.g. /usr/bin/ping)? - Danila Kiver