I have a docker-compose file and running containers
Inside one of the container i have to access the host ip
I get into the container
docker-compose exec webapp /bin/bash
and then checking the below command inside the container
ping host.docker.internal
it says
ping: host.docker.internal: Name or service not known
How to access host ip inside the container
I have to use host ip because i have to access the ssh tunnel on host